Re: tiff with jpeg compression
Bob Friesenhahn <[email protected]> Wed, 24 Mar 2004 11:52:31 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.bugs |
|---|---|
| Message-ID | <Pine.GSO.4.44.0403241148360.11186-100000@scooby.simplesystems.org> |
On Wed, 24 Mar 2004, Daniel Adam wrote: > i've created a tiff file with jpeg compression (with photoshop) wich > actually couldn't be pinged correctly (so it's not a real bug) but ping > throws a exception. What operating system and CPU are you using? Under Intel/FreeBSD the image reads fine, but warns: "unknown field with tag 34665 (0x8769) encountered. (TIFFReadDirectory) [No such file or directory].". Under SPARC/Solaris the program crashes, apparently in the jpeg library code. Maybe there is a data allignment problem. Warnings from libtiff are normal due to vendor-specific tags. If you don't care about them, you should ignore the error. For Magick++, this consists of adding a try/catch block around the read() call which catches Magick::Warning exceptions and ignores them. Bob ====================================== Bob Friesenhahn [email protected] http://www.simplesystems.org/users/bfriesen ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click