1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0024376: BMP image cannot be read

Test case for issues CR24376
This commit is contained in:
mkv 2014-04-23 14:34:04 +04:00 committed by abv
parent bf4bf038c8
commit 86b03c9774

25
tests/bugs/vis/bug24376 Executable file
View File

@ -0,0 +1,25 @@
puts "============"
puts "OCC24376"
puts "============"
puts ""
#######################################################################
# BMP image cannot be read
#######################################################################
box b 1 1 1
explode b FACE
vinit
vdisplay b_1
vtexture b_1 [locate_data_file bug24376_Soap.bmp]
vfit
set x_coord 200
set y_coord 100
checkcolor $x_coord $y_coord 0 0 0
set x_coord 200
set y_coord 90
checkcolor $x_coord $y_coord 0.78039216995239258 0.55294120311737061 0.094117648899555206
set only_screen 1