Page 1 of 1

Loading bitmap data from code,. .

Posted: Sun Mar 06, 2011 1:04 am
by jph_wacheski
When loading an image file using the File component,. and shifting the data into a Bitmap component,. what would be the simplest common image format to work with?

I would like to make a screensaver with a folder of numbered images that the end user can replace,. . a code sample to move the data would help,. I ain't trying to reinvent the wheel,. any format that the GIMP supports would be great. Cheers.

Posted: Sun Mar 06, 2011 11:50 am
by Kjell
Hmm,
What would be the simplest common image format to work with?
I'm not familiar with every image format that GIMP supports, but Alias PIX seems to be pretty bare-bone* Obviously, if you only ( need to ) support a single resolution, just go with RAW.

*Attached is a PIX loader ( without error handling, add whatever you need ).

K