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?
Invallid Parameter - MB
Re: Invallid Parameter - MB
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
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
I have figured out my mistake. Yes, it is working. Although it does have warnings.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
Thanks for your help.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Invallid Parameter - MB
You can get it to be quiet about such warnings using the -quiet operational flag
http://www.imagemagick.org/Usage/basics/#quiet
http://www.imagemagick.org/Usage/basics/#quiet
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/