0030969: Coding Rules - refactor Quantity_Color.cxx color table definition
[occt.git] / tests / bugs / vis / bug30946
1 puts "============="
2 puts "0030946: Visualization - Image_AlienPixMap ignores 1-bit pixelformat when using FreeImage"
3 puts "============="
4
5 pload VISUALIZATION
6 vinit View
7
8 vbackground -image [locate_data_file bug30946_img_1bit_256px.png]
9 if { [vreadpixel 120 315 rgb name] != "WHITE" } { puts "Error: background image was loaded incorrectly" }
10
11 vpoint p0 0 0 0
12 vaspects p0 -setMarkerType [locate_data_file bug30946_img_1bit_32px.png]
13
14 vdump $imagedir/${casename}.png