[fpc-devel]fpImage

Colin Western mftq75 at dsl.pipex.com
Sun Feb 22 01:34:20 CET 2004


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;





More information about the fpc-devel mailing list