I'm using the Solaris package 7.6.0, which was downloaded on 22-September and I cannot use convert to resize some tiff files on a Solaris 10 server. The syntax I am using is: "convert test1.tif -resize 98% t1scaled.tif." The error returned is: "unable to sync pixel cache." I have been able to resize some sample TIFF files, but not the real ones I need to work with.
I also have ImageMagick 7.6.2 installed on a Windows XP laptop. If I use the identify command; e.g. "identify test1.tif" my Windows XP macine reports the files as: "1-bit Bilevel DirectClass" whiled the Solaris machine reports: "PseudoClass 2c 8-bit." It seems like the Solaris version is not correctly identifying the file?
The files in question are 1-bit images of newspaper pages, used for making printing plates. They are reletively large; 5-Mb to 50-Mb. I have tried increasing the MAGICK_AREA-LIMIT, MAGICK_DISK_LIMIT and MAGICK_MEMORY_LIMIT, but not seen any difference.
Any advice will be appreciated.
Problem Converting TIFFs on Solaris
-
- Posts: 2
- Joined: 2011-09-23T08:37:02-07:00
- Authentication code: 8675308
- Location: Chicago, IL
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem Converting TIFFs on Solaris
I have seen reports in the Forum about problems with 1-bit TIFFs. So you might search the forum. I am not an expert on Tiffs. Some suggestions. First, what version of IM do you have on your Solaris? If older than your Windows, then perhaps upgrade as there could be some fixes to IM as those happen all the time. The other possibility is whether there is any compression on the tiffs. See identify -verbose yourimage.tif. If it has jpeg compression, then you might need some other delegate library or tweek to the libjeg delegate. In fact, check the versions of your libjpeg delegates. Are the tiffs in cmyk or rgb format?
The best thing would be to provide an example image that fails for you so the IM developers can check that and see if they can reproduce your issue.
The best thing would be to provide an example image that fails for you so the IM developers can check that and see if they can reproduce your issue.
-
- Posts: 2
- Joined: 2011-09-23T08:37:02-07:00
- Authentication code: 8675308
- Location: Chicago, IL
Re: Problem Converting TIFFs on Solaris
I'm using the latest versions available for Windows and Solaris, so I don't think it's that.
I created tiff files with and without compression and encountered the same error, so I don't think it's that either.
I was hoping the error message: "unable to sync pixel cache" might be more helpful in understading what is going wrong, but a search of he forum came up with nothing.
Any other ideas?
I created tiff files with and without compression and encountered the same error, so I don't think it's that either.
I was hoping the error message: "unable to sync pixel cache" might be more helpful in understading what is going wrong, but a search of he forum came up with nothing.
Any other ideas?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem Converting TIFFs on Solaris
Does convert -version show OpenMP enabled? If so try disabling that. If that does not help. Cross post to the Bugs forum where the IM developers will likely see your post and respond. Post a link to one of your failing Tiff files so they can verify with that.