[Lazarus] fpimage use of Lazarus

Marco van de Voort marcov at stack.nl
Sun Feb 17 10:08:17 CET 2008


On Sat, Feb 16, 2008 at 11:29:40PM +0100, Mattias Gaertner wrote:
> > > Does that mean, the readers/writers must implement the access
> > > themselves for all possible formats?
> > 
> > Don't they already ? 
> 
> No. The readers/writers just use Colors[x,y]:=someTFPColor.
> TLazIntfImage will do the conversion.

Assuming it is paletted yes. I still have to investigate the palette stuff,
so that is not touched for now.
 
> > pixels property is only an integer.
> 
> Pixels is the palette value. The Colors property takes a TFPColor.

Yes, colors use 64 bit RGBA. But I'm not touching that yet. Though I'd like
to make that a bit more pluggable too, in time.



More information about the Lazarus mailing list