If i set Pixels one by one, do i get the same graphic output as if i
move the same numeric data into a scanline?
If no, why?
Is there anybody in the Bteam or anywhere at Borland who is willing to
answer non-trivial questions?
It depends on the PixelFormat of the TBitmap. The Pixels property works onQuote:> Simply stated:
> If i set Pixels one by one, do i get the same graphic output as if i
> move the same numeric data into a scanline?
Because of the way the Pixels property works it is always faster to access
via ScanLine, but you have to know what the PixelFormat is and how each
pixel's color information is encoded.
See my latest reply in the 'ScanLine versus Pixels...' thread.
Most of them hang around the more active groups where they are needed most.Quote:> If no, why?
> Is there anybody in the Bteam or anywhere at Borland who is willing to
> answer non-trivial questions?
The Electric Monk
"Quidquid latine dictum sit, altum viditur!"
For information and examples of Scanlines with PixelFormats
pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit and pf32bit, take
a look at "Manipulating Pixels with Delphi's Scanline Property."
Some of the material first appeared in the May 1998 Delphi Developer's
Journal, but the article was expanded to include information and examples
for all PixelFormats.
efg's Computer Lab: http://infomaster.net/external/efg
Overland Park, KS USA