mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Added two new Image_AlienPixMap::Load() methods, taking std::istream and memory buffer (pointer, length) arguments. This allows reading image from application memory or from file with non-zero offset. Added Image_AlienPixMap::IsTopDownDefault() static property allowing to query rows order used by linked image library, so that application might generate UV texture coordinates accordingly. Added missing Release() to IWICImagingFactory instance.
12 lines
299 B
Plaintext
Executable File
12 lines
299 B
Plaintext
Executable File
puts "================"
|
|
puts "0001188: Impossible to set background image for V3d_View"
|
|
puts "================"
|
|
puts ""
|
|
|
|
vinit View1
|
|
|
|
vsetbg [locate_data_file OCC1188.gif]
|
|
if { [vreadpixel 200 200 rgb name] != "WHITE" } { puts "Error: image background is not set" }
|
|
|
|
vdump $imagedir/${casename}.png
|