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
May 2009

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

2009.05.07 08:14 "[Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.08 03:52 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.08 12:30 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.08 13:47 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.11 03:03 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.11 06:17 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.11 11:22 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.11 14:32 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.12 12:19 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>

2009.05.11 03:03 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>

Thank you for Mr. Frank

I run tiff2rgba.

 >tiff2rgba.exe test.TIF tmp.out

==== log start ====
TIFFReadDirectory: Warning, test.TIF: unknown field with tag 292 (0x124)
encountered.
test.TIF: Warning, incorrect count for field "BitsPerSample" (3, expecting
1); tag trimmed.
test.TIF: Sorry, can not handle images with 46469-bit samples.
==== log end ====

Is test.TIF file wrong Image Format?
or must re-build dll?

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam@pobox.com] 
Sent: Friday, May 08, 2009 10:47 PM
To: masui/増井 郁久
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG
imagefile) of libtiff.

masui/増井 郁久 wrote:
> Thank you for Mr. Frank
> 
> My PC environment is windows XP (SP2) - Visual Studio2005. 
> 
> The following were put on the execution folder. 
>    libtiff3.dll
>    jpeg62.dll
>    zlib1.dll
>      (<- download dll from 
> http://gnuwin32.sourceforge.net/packages/tiff.htm)
> 
> The error message has not come out especially. 
> 
> It holds out a little more. 

Masui,

Well, it would seem likely that the build you are using includes JPEG
support.  As there is no apparent message I think you will need to make the
input image available somewhere if we are to investigate what is happening.

You might also want to try processing the image with the tiff2rgba
commandline utility which also uses the TIFFReadRGBAImage() API.
If that works, and your program does not then the problem is specific to
your program.  If that does not work either then there is either a problem
in the library or your image is for some reason beyond the capability of the
TIFFReadRGBAImage() API (and there are many esoteric images which it does
not support).

Best regards,

-- 
---------------------------------------+--------------------------------
---------------------------------------+------
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/‾warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent