Photoshop .tiffs

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.

Photoshop .tiffs

Postby xentrica » 2011-11-16T17:46:27+00:00

I wrote an application using ImageMagick++ that accepts a single tiff image and chops it into smaller jpeg images. I have a sample tiff image I created in Photoshop a few years ago that works fine. When I try to create a new image file in photoshop and export it as tiff, that file fails to work with Imagemagick++. What am I doing wrong /or what settings in Photoshop must I use to create a tiff that will work with the ImageMagick++ API. The ImageMagick API version 6.4.8
xentrica
 
Posts: 18
Joined: 2011-02-13T21:30:57+00:00

Re: Photoshop .tiffs

Postby magick » 2011-11-16T17:51:11+00:00

Post a URL to one of your images. We need to reproduce the problem before we can comment.
User avatar
magick
Site Admin
 
Posts: 9657
Joined: 2003-05-31T11:32:55+00:00

Re: Photoshop .tiffs

Postby xentrica » 2011-11-16T18:03:48+00:00

xentrica
 
Posts: 18
Joined: 2011-02-13T21:30:57+00:00

Re: Photoshop .tiffs

Postby magick » 2011-11-16T18:33:01+00:00

Perhaps its a version problem with ImageMagick or libTIFF. Your image converted without complaint for us. We're using ImageMagick 6.7.3-6 and libTIFF, version 3.9.5.
User avatar
magick
Site Admin
 
Posts: 9657
Joined: 2003-05-31T11:32:55+00:00

Re: Photoshop .tiffs

Postby xentrica » 2011-11-16T18:45:53+00:00

Not sure what you are refering to "libTIFF"?

I include with my app the libraries:

CORE_RL_tiff_.dll
IM_MOD_RL_tiff_.dll

Those seem the appropiate libraries here. Do I need to upgrade those? Where might I find them?
xentrica
 
Posts: 18
Joined: 2011-02-13T21:30:57+00:00

Re: Photoshop .tiffs

Postby magick » 2011-11-16T19:13:09+00:00

Right, Windows. Just download / install the latest ImageMagick release from http://www.imagemagick.org/script/binar ... hp#windows.
User avatar
magick
Site Admin
 
Posts: 9657
Joined: 2003-05-31T11:32:55+00:00

Re: Photoshop .tiffs

Postby xentrica » 2011-11-17T16:15:55+00:00

I updated those two files and it did not fix the problem.

I also try to open my newer tiff file in my fresh ImageMagick install and get an error:

IMDisplayDoc function [DoReadImage] reported a warning. imdisplay.exe: Incompatible type for "RichTIFFJPTC"; tag ignored. 'TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/761

Though my older tiff file opens fine. any ideas why?
xentrica
 
Posts: 18
Joined: 2011-02-13T21:30:57+00:00

Re: Photoshop .tiffs

Postby xentrica » 2011-11-17T17:08:11+00:00

Update:

I took one of my tiff files that failed in ImageMagik and opened in GIMP. Resaved as a TIFF file and that file works fine. Even in my older install of ImageMagick. So it seems that newer versions of Photoshop create incompatible tiff files. I don't know enough about tiff images to resolve this other than to tell people of this and recommend using Gimp. It's not good because my clients would most likly be getting their tiff files from a scan shop(likely using Photoshop) and are not graphics people. I would love to find at least some settings in Photoshop to export a file my program can use. Or better yet some solution that would allow these Photoshop TIFF files to work in my program regardless of the settings.
xentrica
 
Posts: 18
Joined: 2011-02-13T21:30:57+00:00

Re: Photoshop .tiffs

Postby fmw42 » 2011-11-17T18:09:56+00:00

On IM 6.7.3.6 Q16 Mac OSX Tiger, this works just fine, but one gets a warning about a tag. Nevertheless the image is converted just fine to jpg


convert Untitled1.tif Untitled1.jpg
convert: Untitled1.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/761.
User avatar
fmw42
 
Posts: 14809
Joined: 2007-07-02T17:14:51+00:00
Location: Sunnyvale, California, USA

Re: Photoshop .tiffs

Postby xentrica » 2011-11-17T18:19:48+00:00

Unfortunately I have written a c++ extension that utilizes the IM libraries. That fails silently. In fact it seems to not even load the tiff into memory as the first thing I do before conversion to jpg is to just copy the original tiff to new location and that fails.
xentrica
 
Posts: 18
Joined: 2011-02-13T21:30:57+00:00


Return to Magick++

Who is online

Users browsing this forum: No registered users and 1 guest