This example tests the reading and writing of many different image formats. image_formats" /> the tree is from the the Paria River Canyon in Arizona, USA. It makes me think of Jeremiah 17:8.
#image_formats.com #For backwards compatibility we force .rgb to be read assuming SGI format. gfx create texture tree image example tree.rgb linear clamp; gfx create texture waterfall image example waterfall.tif linear clamp; gfx create win 1; gfx mod win 1 layout width 400 height 400; gfx mod win 1 back texture tree tex_placement 10 -10 380 380; #The file extension is used to determine the file format. By #prefixing a different extension you can override the format without #changing the filename. gfx print win 1 file sgi:image1.rgb; gfx print win 1 file image2.tif; #When converting to an indexed format, the alpha background gets lost, #so use rgb to retrieve the image without alpha gfx print win 1 file image3.gif format rgb; #Postscript format renders the alpha as nothing gfx print win 1 file image4.ps format rgb; gfx print win 1 file image5.bmp format rgb; gfx print win 1 file image6.jpg; #Check that we can read these back in gfx create texture image1 image image1.rgb; gfx mod win 1 back texture image1; gfx create texture image2 image image2.tif; gfx mod win 1 back texture image2; gfx create texture image3 image image3.gif; gfx mod win 1 back texture image3; gfx create texture image5 image image5.bmp; gfx mod win 1 back texture image5; gfx create texture image6 image image6.jpg; gfx mod win 1 back texture image6; gfx;
Name Modified Size
image_formats.com 17-Mar-2014 1.3k COPYRIGHT 17-Mar-2014 504 tree.rgb 17-Mar-2014 555k waterfall.tif 17-Mar-2014 551k
Name Modified Size
examples_a_image_formats.tar.gz 09-Mar-2016 4.9M
Status | Tested | Real time (s) | |
i686-linux | |||
cmgui-wx | Failure | Sun Mar 6 00:23:33 2016 | 7 |
last break | Tue Feb 24 03:23:00 2015 | 7 | |
cmgui-wx-debug | Failure | Sun Mar 6 00:24:08 2016 | 7 |
last break | Tue Feb 24 03:23:00 2015 | 6 | |
cmgui-wx-debug-memorycheck | Failure | Sun Mar 6 00:23:26 2016 | 9 |
last break | Tue Feb 24 03:24:00 2015 | 7 | |
cmgui-wx-debug-valgrind | Failure | Sun Mar 6 01:45:56 2016 | 187 |
last break | Sun Mar 6 01:42:00 2016 | 187 | |
x86_64-linux | |||
cmgui-wx | Failure | Sun Mar 6 00:01:30 2016 | 0 |
last break | Sun Mar 6 00:01:00 2016 | 0 | |
cmgui-wx-debug | Failure | Sun Mar 6 00:01:30 2016 | 0 |
last break | Sun Mar 6 00:01:00 2016 | 0 | |
cmgui-wx-debug-memorycheck | Failure | Sun Mar 6 00:01:30 2016 | 0 |
last break | Sun Mar 6 00:01:00 2016 | 0 | |
cmgui-wx-debug-valgrind | Failure | Sun Mar 6 00:03:28 2016 | 9 |
last break | Sun Mar 6 00:03:00 2016 | 9 | |
cmgui-wx-gcc-cad-debug-valgrind | Success | Thu Jan 7 00:02:29 2016 | 7 |
x86_64-linux | |||
139 | cmgui-wx: | error exit status 139. | |
139 | cmgui-wx-debug: | error exit status 139. | |
139 | cmgui-wx-debug-memorycheck: | error exit status 139. | |
139 | cmgui-wx-debug-valgrind: | error exit status 139. |
i686-linux | |||
Failure | cmgui-wx: | diff test: differences with generic answer; Test output. | |
Failure | cmgui-wx-debug: | diff test: differences with generic answer; Test output. | |
Failure | cmgui-wx-debug-memorycheck: | diff test: differences with generic answer; Test output. | |
Failure | cmgui-wx-debug-valgrind: | diff test: differences with generic answer; Test output. | |
x86_64-linux | |||
Failure | cmgui-wx: | diff test: differences with generic answer; Test output. | |
Failure | cmgui-wx-debug: | diff test: differences with generic answer; Test output. | |
Failure | cmgui-wx-debug-memorycheck: | diff test: differences with generic answer; Test output. | |
Failure | cmgui-wx-debug-valgrind: | diff test: differences with generic answer; Test output. |
i686-linux | |||
Success | cmgui-wx: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug-memorycheck: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug-valgrind: | idiff test: Test output; generic answer. | |
x86_64-linux | |||
Missing | cmgui-wx: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug-memorycheck: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug-valgrind: | output file not generated for idiff; generic answer. |
i686-linux | |||
Success | cmgui-wx: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug-memorycheck: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug-valgrind: | idiff test: Test output; generic answer. | |
x86_64-linux | |||
Missing | cmgui-wx: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug-memorycheck: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug-valgrind: | output file not generated for idiff; generic answer. |
i686-linux | |||
Success | cmgui-wx: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug-memorycheck: | idiff test: Test output; generic answer. | |
Success | cmgui-wx-debug-valgrind: | idiff test: Test output; generic answer. | |
x86_64-linux | |||
Missing | cmgui-wx: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug-memorycheck: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug-valgrind: | output file not generated for idiff; generic answer. |
i686-linux | |||
Success | cmgui-wx: | idiff test: Test output; i686-linux answer. | |
Success | cmgui-wx-debug: | idiff test: Test output; i686-linux answer. | |
Success | cmgui-wx-debug-memorycheck: | idiff test: Test output; i686-linux answer. | |
Success | cmgui-wx-debug-valgrind: | idiff test: Test output; i686-linux answer. | |
x86_64-linux | |||
Missing | cmgui-wx: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug-memorycheck: | output file not generated for idiff; generic answer. | |
Missing | cmgui-wx-debug-valgrind: | output file not generated for idiff; generic answer. |
Html last generated: Wed Mar 9 16:02:11 2016
Input last modified: Wed Mar 9 15:49:44 2016