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
August 1993

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

1993.08.20 09:40 "Re: help on TIFFReadRGBAImage", by Karsten Spang
1993.08.20 14:22 "help on TIFFReadRGBAImage", by Yip Chi Lap
1993.08.21 01:08 "Re: help on TIFFReadRGBAImage", by Sam Leffler
1993.08.21 15:03 "Re: help on TIFFReadRGBAImage", by Yip Chi Lap
1993.08.22 18:02 "Re: help on TIFFReadRGBAImage", by Sam Leffler
1993.08.22 20:07 "Re: help on TIFFReadRGBAImage", by Sam Leffler
1993.08.23 08:07 "help on TIFFReadRGBAImage", by Oliver Trepte
1993.08.23 10:58 "help on TIFFReadRGBAImage", by Oliver Trepte
1993.08.23 17:08 "Re: help on TIFFReadRGBAImage", by Yip Chi Lap

1993.08.23 17:08 "Re: help on TIFFReadRGBAImage", by Yip Chi Lap

Hi,

> For what it's worth, the PPM standard specifies that the first pixel
> in the file is in the lower left corner. This is always the case, and
> it can't be set to anything else from within the PPM file.

	Shouldn't it be top-left corner? The ppm(5) manpage reads:
......
       - Width * height pixels, each three ASCII  decimal  values
         between  0  and the specified maximum value, starting at
         the top-left corner of the pixmap, proceeding in  normal
         English  reading order.  The three values for each pixel
         represent red, green, and blue, respectively; a value of
         0  means  that color is off, and the maximum value means
         that color is maxxed out.
......

	By the way, the "(row,col)" in my mail about what (x,y) means some
time ago:
>     So the "(x,y)" in the sentence "Note that the raster is assume to
>     be organized such that the pixel at location (x,y) is raster[y*width+x]"
>     in the man page of TIFFReadRGBAImage refers to the 'normal' cartesian
>     coordinates but not the (row,col) coordinate relative to the image, I
>     suppose?
should read "(col,row)". Thanks all who helped.  :)

Regards,
  Beta.

:) BitNet,InterNet:                        Fidonet:                         :P
:>   h9118101@{hkuxa,hkusub,hkueee}.hku.hk   Beta Yip                       :O
:]   {beta,clyip}@sunmp.csd.hku.hk           Moderator of Lyrics Conference :D
:9                                             in Funny World BBS           :*



Regards,
  Beta.

:) BitNet,InterNet:                        Fidonet:                         :P
:>   h9118101@{hkuxa,hkusub,hkueee}.hku.hk   Beta Yip                       :O
:]   {beta,clyip}@sunmp.csd.hku.hk           Moderator of Lyrics Conference :D
:9                                             in Funny World BBS           :*


:) BitNet,InterNet:                        Fidonet:                         :P
:>   h9118101@{hkuxa,hkusub,hkueee}.hku.hk   Beta Yip                       :O
:]   {beta,clyip}@sunmp.csd.hku.hk           Moderator of Lyrics Conference :D
:9                                             in Funny World BBS           :*