I am using imagemagick convert to extract multiple tif images from a single tif file. But when I use the following command
convert image.tif single%d.tif
I get very low quality (sort of blurred) images. The files single1.tif
, single2.tif
and so on are of very low quality as compared to the quality of the images in the original image.tif file.
I then tried
convert -enhance image.tif single%d.tif
Still I got very low quality images in the output.
What should I do to get just images with original quality separated in multiple files?
Additional output is here:
convert: image.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37680 (0x9330) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode'.
convert: image.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode'.
convert: image.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode'.
convert: image.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode'.
convert: image.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode'.
convert: image.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode'.
convert: image.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode'.
convert: image.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
convert: image.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode'.
identify image.tif
andidentify single*.tif
?