.AIM Image format

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
interface
ultra-n00b
Posts: 1
Joined: Wed Jul 05, 2006 7:47 am

.AIM Image format

Post by interface » Wed Jul 05, 2006 8:08 am

First of all, english is not my native language... :wink:

That's what i figured out up to now:
.AIM means Ascaron Image Format and was developed by Ascaron for their new release "Darkstar One". The images stored in this files are simple 2D graphics.
My problems with decoding the format now are:
1) I cannot find any advice for the image size in the file header
2) the color format... most files contain a string "IMTC32", other "IMSLD32". So i've googled for those, but didn't find anything about this.
Maybe these strings doesn't stand for the color format...

The file data always starts at offset 40. It's simple one pixel after the other, line by line stored. So you can easily extract the colour values for each pixel. But without the correct color format, i always get wrong colours.

Some AIM files can be found here:
http://sv.h774874.serverkompetenz.net/aimfiles.zip
Maybe there is one who can help me? :)

jasmine
VIP member
VIP member
Posts: 77
Joined: Tue May 10, 2005 6:07 am
Been thanked: 1 time

Post by jasmine » Thu Jul 06, 2006 4:55 am

The files with IMTC32 in the 64 byte header are 32 bit R8G8B8A8 textures. That is one byte for each color plus alpha. The size of the texture is an unsigned long int located at byte 60 of the header. Immediately following the texture are two unsigned long int representing the width and height respectively.

Laters,
jasmine

Post Reply