Error Code 141: Problem resizing pictures

Asked By 10 points N/A Posted on -
qa-featured

Hello

When I try to resize certain pictures, I find an Error Code 141. This is very confusing because according to IMs certification, error codes range from 300 to 800.

Does anybody have any idea on Error Code 141 that can assist me to solve this problem?

A few contexts:

ImageMagick was fixed on an Amazon S3 case by yum install ImageMagick.
ImageMagick is being raised by Scala code with the im4Java library (who claims the error codes are returned as-is from IM).
The problematic images are also being produced. I have tried to crop and resize in one command, and at first cropping, after that resizing.


Need your help to solve this. Thanks in advance.

SHARE
Best Answer by Edmund Joseph
Answered By 0 points N/A #104906

Error Code 141: Problem resizing pictures

qa-featured

Hello brother I found problem in the im4java wrapper, specifically when capturing the output of the JNI call to ImageMagick.

The only solution that worked was saving the result in a temporary file and then loading it into a Buffered Image, instead of using im4java's ability to return a Buffered Image directly.

Thanks,

Best Answer
Best Answer
Answered By 0 points N/A #104907

Error Code 141: Problem resizing pictures

qa-featured

 

Hi there user:

You should do the right IM 6 syntax with input image.

(No space) (“convert ${1}” “{1382×1382+173+0} –resize “75×75>”- quality+ 75.0 “convert ${1}” -crop “1382×1382+173+0’ +repage “75×75>”- quality+ 75.0) You can extract before or after input image.

You may also view (helpful) warnings to this link

I hope this could help you.

Thanks for posting your query here at techyv.com

Best regards,

Login/Register to Answer

Related Questions