On Tue, 15 Nov 2005 22:12:33 -0200 Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote: > > Delphi uses the corner pixel (0,Height-1) to decide, which color is the > > transparent color. > > It's not yet implemented in the LCL TBitmap. It's a Delphi hack to add > > transparency to .bmp files. > > Sorry, but this is incorrect. You are right. > This has being recently implemented. No. It has been implemented to *always* use the 0,Height-1 pixel for transparency. AFAIK Delphi does it only when TransparentColor=clDefault. We need two additional things: - ability to read normal .bmp as they are, i.e. without holes - ability to define a custom TransparentColor as Delphi > Refer > to http://www.lazarus.freepascal.org/mantis/view.php?id=1092 for more > information. > > I just tested on linux and transparect bmp files as glyphs are working > and the cornel pixel magic also works. > > The thing is that this is a very new feature. > > So Lazarus 0.9.10 does not have it, but the latest subversion lazarus > has transparent bmp as glyphs. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
