Thumbnail creation in spite of memory allocation failure
Posted: 2013-09-07T01:11:24-07:00
Hello,
when the convert throws an error "memory allocation failed", the "thumbnail-100x100.jpg" will still be created with the original size (e.g. 8000 x 2000)
Is there an option, which prevents creating the file?
when the convert throws an error "memory allocation failed", the "thumbnail-100x100.jpg" will still be created with the original size (e.g. 8000 x 2000)
Code: Select all
convert -resize 100x100 -quality 100 reallybigimage-8000x2000.jpg thumbnail-100x100.jpg