Michael Van Canneyt ha scritto:

On Fri, 1 Feb 2008, Sebastian Günther wrote:

Hi *,

attached is a small patch which enables the LCL to read RLE encoded BMP files
(successfully tested with some hundreds of small 8 bpp bitmaps, 4 bpp should
work as well).

I don't understand why this is needed, RLE bitmaps have been supported in
fpimage since years ?


Maybe there's some inconsistency hanging around:

in intgraphics.pas - TLazReaderBMP.InternalReadBody, when attempting to read RLE Bitmap:

          raise FPImageException.Create('4 bit RLE Bitmaps not supported');

          raise FPImageException.Create('8 bit RLE Bitmaps not supported');

Giuliano

--
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to