[Lazarus] [lazarus] Patch for reading LRE encoded BMP files

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Feb 16 12:26:01 CET 2008


On Fri, Feb 15, 2008 at 11:24:56PM +0000, Dominique Louis wrote:
>    I have the situation where a Delphi TBitmap class is able to load a 
> particular .bmp image while the LCL version of TBitmap throws an 
> exception. I tried loading the image both via a stream and also saving 
> it, then doing a LoadFromFile and in both cases it AVs.
> 
> Firstly is there a known issue with any particular types of Bitmap images?

I just happen to look into fpimage (fcl-image) today to see if I can add
scanline support and generally speed it up a bit. Lazarus image support
seems partially fpimage based, partially not.

> Secondly, is anyone already looking at improving Lazarus's TBitmap 
> compatibilities and if I were to send them the offending bitmap, would 
> that help in any way?

I'm interested anyway. Best is maybe to add the offending file and a short
example on mantis. Reply the bugnumber to this post.

See also next msg.




More information about the Lazarus mailing list