[SDL] SDL_Image patch for ILBM Amiga images
david.raulo at free.fr
Tue Apr 1 22:22:09 PST 2003
Here's a patch for SDL_Image, adding support for classic Amiga ILBM formats:
- fixes a small bug with stencil (images with a transparent color but no
stencil/mask plane could not be read)
- fixes colormap for EHB ("Extra Half Brite") mode (these images have 6
bitplanes, but the colormap only contains 32 colors. The second half of the
colormap has to be a copy of the first one, with brightness divided by 2)
- adds support for HAM ("Hold And Modify") and HAM8 modes. These are
converted to 24bits images.
Detailed information about these formats can be found on
The attached patch is a unidiff against SDL_Image version 1.2.3. I tried it
on 2 debian/testing systems (x86 and PPC), seems to work great. Please
contact me if this patch needs some work in order to be accepted.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4733 bytes
Desc: not available
More information about the SDL