Convert output is truncated
Posted: 2012-09-18T13:31:56-07:00
I'm having an intermittent issue where the output from convert is truncated resulting in only a partial image. When using identify it doesn't report anything as being invalid and I am able to find the EOI tag in the output file. This seems to occur more often with the 2nd code example I'm guessing it is about 1/1000.
Code: Select all
convert tmpDir/*.* +clone -resize 1000x1000 -set filename:f resized/%t_1000.%e +adjoin -write %[filename:f] +clone -resize 600x600 -set filename:f resized/%t_600.%e +adjoin -write %[filename:f] +clone -resize 320x320 -set filename:f resized/%t_320.%e +adjoin -write %[filename:f] -resize 80x80 -set filename:f presets/%t_80.%e +adjoin %[filename:f]
Code: Select all
convert file.jpeg -resize 80x80 -set filename:f presets/%t_80.%e +adjoin %[filename:f]