Loading bitmap data from code,. .

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

Loading bitmap data from code,. .

Post 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.
Attachments
imageMix_11.zip
for something like this, . just a test.
(527.41 KiB) Downloaded 473 times
iterationGAMES.com
User avatar
Kjell
Posts: 1929
Joined: Sat Feb 23, 2008 11:15 pm

Post 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
Attachments
Alias.zip
(7.05 KiB) Downloaded 469 times
Post Reply