On Tue, 06 Jul 2010 09:20:58 +0000 Mark Morgan Lloyd <[email protected]> wrote:
> Marc Weustink wrote: > > >> I access the pixel data directly via FPColor:=TLazIntfImage.Colors[x,y] > >> > >> Even if there is a difference in the internal layout, with using this > >> function it should be correct anyway. > >> Or am I missing something here? > > > > You're right. This should always return the correct value. (there are > > different ways to access the pixels, therefore I asked) > > Can I check one thing here please: am I correct in my understanding that > usage as above /should/ always return the correct value, Yes. > but > TLazIntfImage.GetDataLineStart() returns a pointer to a row of > system-specific elements? Because that's what I think I'm seeing... Yes. TLazIntfImage is a TFPCustomImageTFPImage and can handle a wide range of different memory images. Probably the carbon interface returned a wrong description. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
