AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2010.03.22 17:45 ""Re: Delphi TIFF visualization"", by Mircea Malarski
2010.03.23 00:36 "Re: "Re: Delphi TIFF visualization"", by Olivier Paquet

2010.03.23 00:36 "Re: "Re: Delphi TIFF visualization"", by Olivier Paquet

On Mon, Mar 22, 2010 at 1:45 PM, Mircea Malarski
<mircea.malarski@onlinehome.de> wrote:
> Why here is used FirstPageBitmap.Scanline[FirstPageHeight-1] and not
> FirstPageBitmap.Scanline[0]?

It hard to tell for sure without knowing how FirstPageBitmap is
defined. I've never used Delphi so here's my best guess: the Scanline
member is an array of pointers into one large buffer (the image).
Since that buffer stores the image bottom up (as the message you
quoted says), the pointer of the last scanline actually points to the
start of the buffer.

Olivier