Hi,
Is there a maintainer for fpImage ? And what is the development status of fp(read|write)bmp ? Is anyone working on adding other encodings than 32 bit ? If not, than I'll have a try to add the missing encodings.
Marc

Mailing lists / fpc-devel / 2004-02
8 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
Is there a maintainer for fpImage ? And what is the development status of fp(read|write)bmp ? Is anyone working on adding other encodings than 32 bit ? If not, than I'll have a try to add the missing encodings.
Marc
I am not the maintainer, but I have been tinkering with it. Attached is a patch containing my efforts so far
Colin
Is there a maintainer for fpImage ? And what is the development status of…
Michael van Canneyt () is the maintainer. patches
can be send to fpc-devel list.
Is there a maintainer for fpImage ? And what is the development status of…
Michael van Canneyt () is the maintainer. patches
can be send to fpc-devel list.
I am not the maintainer, but I have been tinkering with it. Attached is a patch…
Thank you. I have reviewed and applied the patches. Feel free to send more patches and/or suggestions.
As for the BMP reader: it is scheduled for rewriting, I want it to be more modular. (read/write scanline in separate procedure) if you have time please feel free to do some work on it. If you have questions, don't hesitate to ask them.
Michael.
Thanks for that. Note that the patch as applied requires dynamic arrays
- the code is rather awkward otherwise.
Colin
Thank you. I have reviewed and applied the patches. Feel free to send more patches and/or…
Hey great. Thanks.
Thank you. I have reviewed and applied the patches. Feel free to send more patches and/or suggestions.
Thanks 2
Marc
Michael van Canneyt () is the maintainer. patches can be send to fpc-devel list.
Reading the bitmap docs, and a test of one bitmap makes me think the following patch is required:
diff -uNr fpc/fcl/image/fpreadbmp.pp fpc.w/fcl/image/fpreadbmp.pp
--- fpc/fcl/image/fpreadbmp.pp 2004-02-20 23:12:57.000000000 +0000
+++ fpc.w/fcl/image/fpreadbmp.pp 2004-02-22 00:24:01.000000000 +0000
@@ -57,7 +57,7 @@
Red :=(R shl 8) or R;
Green :=(G shl 8) or G;
Blue :=(B shl 8) or B;
- alpha :=A; //!! MVC: Used to be AlphaOpaque ???
+ alpha :=AlphaOpaque; { No transparency information in bitmaps }
end;
end;