ImageMagick convert: "unable to extend cache"
Posted: Mon Feb 28, 2011 4:33 pm
[PROBLEM]
I wanted to deinterlace a video image frame, using ImageMagick's "convert" tool. In order to get every 2nd line out of the image, I've called it as follows:
...and was returned with a strange error message:
[SOLUTION]
Actually, the error message was right: "Invalid argument" - but I was confused by the "unable to extend cache blabla no IDATs written to file xxx" stuff.
I've had a typo in my "-sample" argument. It was:
but was missing an "x" in between:
I wanted to deinterlace a video image frame, using ImageMagick's "convert" tool. In order to get every 2nd line out of the image, I've called it as follows:
Code: Select all
convert 1-B.tga -sample 100%50% 1-B.png
convert: unable to extend cache `xxx.tga': Invalid argument.
convert: No IDATs written into file `xxx.png'.
[SOLUTION]
Actually, the error message was right: "Invalid argument" - but I was confused by the "unable to extend cache blabla no IDATs written to file xxx" stuff.
I've had a typo in my "-sample" argument. It was:
Code: Select all
100%50%
Code: Select all
100%x50%