[Lazarus] fpimage use of Lazarus
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Feb 17 10:54:05 CET 2008
On Sun, 17 Feb 2008 10:08:17 +0100
Marco van de Voort <marcov at stack.nl> wrote:
> 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.
I can't follow you here. I was talking about the pixel formats, not
palette.
> > > 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.
Ok.
Mattias
More information about the Lazarus
mailing list