Hi,
I need to batch convert TIF files to PNG and set the transparent color to blue. I tried to use mogrify.exe from the portable download 6.5.3-Q16. Here's the command I used:
mogrify -format png -transparent blue *.tif
It does the conversion to png but only set the transparency to the first processed image. The rest of my png are not transparent. I'm aslo getting this message as the ouput:
C:\TIF>mogrify -format png -transparent blue *.tif
mogrify: MeetBDTR_Man0001.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFF
ReadDirectory' @ tiff.c/TIFFWarnings/525.
Any ideas ?
Thanks!
-eXoRt
Batch Convert TIF to PNG with transparency color
Re: Batch Convert TIF to PNG with transparency color
We can reproduce the problem you posted and will have a fix by sometime tomorrow. Thanks.
Re: Batch Convert TIF to PNG with transparency color
Is the fix available yet ? Can I be pointed to a link ?
Thanks so much!
Thanks so much!
Re: Batch Convert TIF to PNG with transparency color
Download the latest ImageMagick release from http://www.imagemagick.org.
Re: Batch Convert TIF to PNG with transparency color
Still not working, am I doing something wrong ? I just tried with version 6.5.3-6 2009-06-12 Q16
Let me knows.
Thanks.
Let me knows.
Thanks.
Re: Batch Convert TIF to PNG with transparency color
We have a development and release servers. The patch apparently did not make it from our development to the release server. We will rectify that problem tomorrow. Apologies.
Re: Batch Convert TIF to PNG with transparency color
I just tried the latest portable release of mogrify.exe. Bug is fixed!!!
Thanks so much guys!
Thanks so much guys!
Re: Batch Convert TIF to PNG with transparency color
I hate to revive such an old post, but I just got this error..
--Steve
Code: Select all
C:\slides\nov2011>mogrify -format jpg *.tif
mogrify.exe: Invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectoryCheckOrder' @ warning/tiff.c/TIFFWarnings/761.
C:\slides\nov2011>mogrify
Version: ImageMagick 6.7.3-6 2011-11-10 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP