i am using imagick with the following version
Code: Select all
version: ImageMagick 6.9.9-5 Q16 x86_64 2017-08-07 http://www.imagemagick.org
Code: Select all
convert -colorspace sRGB -fuzz 1.2% -trim +repage -thumbnail '400x400>' -sharpen 0x0.1 -background white -alpha remove -quality 88 'converted'
Code: Select all
cmd: 2>&1 convert 'path/to/corrupted/file.png' -colorspace sRGB -fuzz 1.2% -trim +repage -thumbnail '400x400>' -sharpen 0x0.1 -background white -alpha remove -quality 88 'result.jpg'
convert: Expected 8192 bytes; found 3676 bytes `/dev/shm/convertExecgoqszS' @ warning/png.c/MagickPNGWarningHandler/1665.
convert: Read Exception `/dev/shm/convertExecgoqszS' @ error/png.c/MagickPNGErrorHandler/1639.
convert: Expected 8192 bytes; found 3676 bytes `/dev/shm/convertExecgoqszS' @ warning/png.c/MagickPNGWarningHandler/1665.
convert: Read Exception `/dev/shm/convertExecgoqszS' @ error/png.c/MagickPNGErrorHandler/1639.
convert: Expected 8192 bytes; found 3676 bytes `/dev/shm/convertExecgoqszS' @ warning/png.c/MagickPNGWarningHandler/1665.
convert: Read Exception `/dev/shm/convertExecgoqszS' @ error/png.c/MagickPNGErrorHandler/1639.
convert: Expected 8192 bytes; found 3676 bytes `/dev/shm/convertExecgoqszS' @ warning/png.c/MagickPNGWarningHandler/1665.
convert: Read Exception `/dev/shm/convertExecgoqszS' @ error/png.c/MagickPNGErrorHandler/1639.
Thanks for your reply
Lukas Ruzicka