convert: Maximum TIFF file size exceeded. `TIFFAppendToStrip' @ error/tiff.c/TIFFErrors/650
Posted: 2018-10-15T23:50:43-07:00
Hi,
I am running a command (see below) to convert a jpeg image to tiff image by using -resize option.
I ran into an error (see below) after some time. The command gave me 314bytes of an image as an output.
If I run the same command (see below) by changing scale and resize value to 28800, gave me 1.2GB of the file.
System Configuration
ImageMagick version: ImageMagick 7.0.8-12 Q16 x86_64 2018-10-05
Environment (Operating system, version and so on): Ubuntu 16.04, 64-bit
Additional Information: input.jpeg of size 15.9 MB
I am running a command (see below) to convert a jpeg image to tiff image by using -resize option.
Code: Select all
convert -verbose -quality 100 -scale 54000 -units PixelsPerInch -density 300x300 -resample 300x300 input.jpeg -resize 54000 output.tif
Code: Select all
convert: Maximum TIFF file size exceeded.TIFFAppendToStrip' @ error/tiff.c/TIFFErrors/650.`
Code: Select all
convert -verbose -quality 100 -scale 28800 -units PixelsPerInch -density 300x300 -resample 300x300 input.jpeg -resize 28800 output.tif
ImageMagick version: ImageMagick 7.0.8-12 Q16 x86_64 2018-10-05
Environment (Operating system, version and so on): Ubuntu 16.04, 64-bit
Additional Information: input.jpeg of size 15.9 MB