Here's an example, both images were exported as PNG with GIMP, the only difference is the small one has been scaled down before exporting it:
Code: Select all
$ convert -version Version: ImageMagick 6.9.10-8 Q16 x86_64 20180723 https://www.imagemagick.org Copyright: © 1999-2018 ImageMagick Studio LLC License: https://www.imagemagick.org/script/license.php Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib $ convert large_10180x13600.png out.png convert-im6.q16: no images defined `out.png' @ error/convert.c/ConvertImageCommand/3258. $ # The above fails with exit code 1 $ convert small_1018x1360.png out.png $ # This works fine, out.png is created as it should
The error message is also a bit weird because it's caused by the input image but the message references the output image.