Re: [AD] Possible bug in 4.2 bitmap loading code.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, Apr 5, 2008 at 10:30 PM, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> On Sat, April 5, 2008 3:36 pm, Peter Wang said:
>  >> There are another issue, MSDN says that an BMP can't be
>  >> 'top-down' and 'compressed' at the same time, but with Adobe
>  >> Photoshop you can create them (RLE4 or RLE8, with negative
>  >> height). ¿We should give support to load these top-down
>  >> compressed files? I think that most programs don't support
>  >> these odd files.
>  >
>  > What do we do now?
>
>  I say if they don't follow the spec we don't need to support them.

I'm agree. Most programs can't load these bmps
(e.g. MS-Paint or ACDSee).

>  Surely photoshop can export a valid bitmap?

Yes, it can.

Anyway, I added support to load these bitmaps for
my personal use. If someone want the patch tell me
about it.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/