Page 1 of 1
Invallid Parameter - MB
Posted: 2009-06-16T12:42:22-07:00
by elisegev
Hi,
I have two TIF files that come from Photoshop. I get the following error with ImageMagick 6.5.3 when converting to PNG:
Invalid Parameter - MB
What is wrong with the file? Is there a way to send you these files?
Re: Invallid Parameter - MB
Posted: 2009-06-16T13:22:12-07:00
by magick
We have never seen that exception message. Post a URL to your images and the command you used. We will download them and hopefully reproduce the problem.
Re: Invallid Parameter - MB
Posted: 2009-06-16T14:05:32-07:00
by magick
Works for us (using ImageMagick 6.5.3-8):
- -> convert 25_5\ MB\ PS\ no\ layers.tif 25_5\ MB\ PS\ no\ layers.png
convert: 25_5 MB PS no layers.tif: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
convert: 25_5 MB PS no layers.tif: unknown field with tag 40961 (0xa001) encountered. `TIFFReadCustomDirectory' @ tiff.c/TIFFWarnings/525.
convert: 25_5 MB PS no layers.tif: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
-> convert 26_5\ MB\ PS\ with\ layers.tiff 26_5\ MB\ PS\ with\ layers.png
convert: 26_5 MB PS with layers.tiff: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
convert: 26_5 MB PS with layers.tiff: unknown field with tag 40961 (0xa001) encountered. `TIFFReadCustomDirectory' @ tiff.c/TIFFWarnings/525.
convert: 26_5 MB PS with layers.tiff: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
-> identify 25
25_5 MB PS no layers.png 25_5 MB PS no layers.tif
-> identify 25_5\ MB\ PS\ no\ layers.png 26
26_5 MB PS with layers.png 26_5 MB PS with layers.tiff
-> identify 25_5\ MB\ PS\ no\ layers.png 26_5\ MB\ PS\ with\ layers.png
25_5 MB PS no layers.png PNG 1842x2434 1842x2434+0+0 8-bit DirectClass 10.49mb
26_5 MB PS with layers.png[1] PNG 1842x2434 1842x2434+0+0 8-bit DirectClass 10.41mb
Re: Invallid Parameter - MB
Posted: 2009-06-16T14:09:58-07:00
by elisegev
magick wrote:Works for us (using ImageMagick 6.5.3-8):
- -> convert 25_5\ MB\ PS\ no\ layers.tif 25_5\ MB\ PS\ no\ layers.png
convert: 25_5 MB PS no layers.tif: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
convert: 25_5 MB PS no layers.tif: unknown field with tag 40961 (0xa001) encountered. `TIFFReadCustomDirectory' @ tiff.c/TIFFWarnings/525.
convert: 25_5 MB PS no layers.tif: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
-> convert 26_5\ MB\ PS\ with\ layers.tiff 26_5\ MB\ PS\ with\ layers.png
convert: 26_5 MB PS with layers.tiff: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
convert: 26_5 MB PS with layers.tiff: unknown field with tag 40961 (0xa001) encountered. `TIFFReadCustomDirectory' @ tiff.c/TIFFWarnings/525.
convert: 26_5 MB PS with layers.tiff: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
-> identify 25
25_5 MB PS no layers.png 25_5 MB PS no layers.tif
-> identify 25_5\ MB\ PS\ no\ layers.png 26
26_5 MB PS with layers.png 26_5 MB PS with layers.tiff
-> identify 25_5\ MB\ PS\ no\ layers.png 26_5\ MB\ PS\ with\ layers.png
25_5 MB PS no layers.png PNG 1842x2434 1842x2434+0+0 8-bit DirectClass 10.49mb
26_5 MB PS with layers.png[1] PNG 1842x2434 1842x2434+0+0 8-bit DirectClass 10.41mb
I have figured out my mistake. Yes, it is working. Although it does have warnings.
Thanks for your help.
Re: Invallid Parameter - MB
Posted: 2009-06-16T20:20:17-07:00
by anthony
You can get it to be quiet about such warnings using the
-quiet operational flag
http://www.imagemagick.org/Usage/basics/#quiet