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;


_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to