Convert delete layer from TIFF, save as JPEG
Posted: 2011-04-18T17:11:45-07:00
I'm trying to remove one layer from a TIFF that contains two layers and then save as a JPEG file.
I've tried two different commands with no luck:
This results in the following output:
Magick: unable to open image `c:\Temp\TIFFLZW.tif'[0]'': No such file or directory @ error/blob.c/OpenBlob/2514.
Magick: no decode delegate for this image format `c:\Temp\TIFFLZW.tif'[0]'' @ error/constitute.c/ReadImage/532.
Magick: missing an image filename `c:\Temp\test.jpg' @ error/convert.c/ConvertImageCommand/2970.
This results in the following output:
Magick: c:\Temp\TIFFLZW.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored.
`TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
Magick: c:\Temp\TIFFLZW.tif: unknown field with tag 37724 (0x935c) encountered.
`TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
Magick: missing an image filename `c:\Temp\test.jpg' @ error/convert.c/ConvertImageCommand/2970.
Here is the TIFF file:
http://www.50amp.com/im/TIFFLZW.tif
ImageMagick version is 6.6.3
TIFF Delegate is enabled
I've tried two different commands with no luck:
Code: Select all
convert c:\Temp\TIFFLZW.tif'[0]' c:\Temp\test.jpg
Magick: unable to open image `c:\Temp\TIFFLZW.tif'[0]'': No such file or directory @ error/blob.c/OpenBlob/2514.
Magick: no decode delegate for this image format `c:\Temp\TIFFLZW.tif'[0]'' @ error/constitute.c/ReadImage/532.
Magick: missing an image filename `c:\Temp\test.jpg' @ error/convert.c/ConvertImageCommand/2970.
Code: Select all
convert c:\Temp\TIFFLZW.tif -delete 0 c:\Temp\test.jpg
Magick: c:\Temp\TIFFLZW.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored.
`TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
Magick: c:\Temp\TIFFLZW.tif: unknown field with tag 37724 (0x935c) encountered.
`TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
Magick: missing an image filename `c:\Temp\test.jpg' @ error/convert.c/ConvertImageCommand/2970.
Here is the TIFF file:
http://www.50amp.com/im/TIFFLZW.tif
ImageMagick version is 6.6.3
TIFF Delegate is enabled