| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.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 |
|||||||