Problem in image creation.

135 views
Skip to first unread message

Chayanika Goswami

unread,
Nov 11, 2021, 10:36:21 PM11/11/21
to ParseCNV
Dear Joseph Glessner,

Hi, I have encountered the following error while running ParseCNV in my own dataset. Kindly help me to understand how to fix this.

convert-im6.q16: width or height exceeds limit `OutputFiles/1.JPG' @ error/cache.c/OpenPixelCache/3911.
convert-im6.q16: width or height exceeds limit `OutputFiles/37.JPG' @ error/cache.c/OpenPixelCache/3911.

Note: It runs smoothly for the example files without any error or warnings.

Joe Glessner

unread,
Jul 20, 2022, 10:19:40 PM7/20/22
to ParseCNV
Hello,
Sorry for the late reply.

It looks like a problem with your ImageMagick policy.xml file having too low a height setting.

https://askubuntu.com/questions/1041349/imagemagick-command-line-convert-limit-values

/etc/ImageMagick-6/policy.xml

sudo chmod 777 policy.xml

Edit this line to a higher value than what you currently have:

<policy domain="resource" name="height" value="16MP"/>

chmod 744 policy.xml


Reply all
Reply to author
Forward
0 new messages