1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/vis/bug1188
kgv 88b12b7c05 0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory buffer
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.
2019-03-03 20:59:18 +03:00

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