ImageMagick:

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....

ImageMagick:

Postby peter_b » Thu Feb 13, 2020 7:53 pm

[PROBLEM]
Trying to split an insanely-wide image (>500.000px width) in 30.000px sections:
Code: Select all
$ convert video_motion.png -crop 30000 video_motion-%02d.png


Throws the following error:
convert: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert: cache resources exhausted `/opt/dva-profession/workflow/07-scene_cut_detection/final/v-20104/metadata/video_motion.png' @ error/cache.c/OpenPixelCache/3945.
convert: no images defined `video_motion-%02d.png' @ error/convert.c/ConvertImageCommand/3258.



[SOLUTION]
I've increased the "disk" size to allow to use more space for ImageMagick to swap:
Code: Select all
<policy domain="resource" name="disk" value="10GiB"/>


Another thing to try would be to increase "memory", but there wasn't too much RAM in that machine so I went directly for "disk".
  • 0

User avatar
peter_b
Chatterbox
 
Posts: 300
Joined: Tue Nov 12, 2013 2:05 am
Reputation: 3

Return to Knowledge Base

Who is online

Users browsing this forum: No registered users and 4 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Bing [Bot] and 56 guests

cron
Reputation System ©'