We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 72 - SDL_Image patch for ILBM Amiga images
Summary: SDL_Image patch for ILBM Amiga images
Status: RESOLVED FIXED
Alias: None
Product: SDL_image
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 01:19 UTC by Sam Lantinga
Modified: 2006-05-01 04:03 UTC (History)
0 users

See Also:


Attachments
sdlimage-ilbm-amiga-modes.2.diff (5.84 KB, patch)
2006-01-24 01:20 UTC, Sam Lantinga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Lantinga 2006-01-24 01:19:19 UTC
Date: Tue, 1 Apr 2003 11:43:04 +0200
From: David Raulo <david.raulo@free.fr>(by way of David Raulo <david.raulo@free.fr>)
Subject: [SDL] SDL_Image patch for ILBM Amiga images

Hi all,

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
http://netghost.narod.ru/gff/graphics/summary/iff.htm

The attached patch is a unidiff against SDL_Image version 1.2.3. 
Comment 1 Sam Lantinga 2006-01-24 01:20:38 UTC
Created attachment 31 [details]
sdlimage-ilbm-amiga-modes.2.diff

This diff doesn't apply cleanly anymore.
Comment 2 Ryan C. Gordon 2006-01-27 11:23:22 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 3 Sam Lantinga 2006-05-01 04:03:06 UTC
It looks like this functionality is already in SDL_image in subversion.