Page 1 of 1

Image convert causes broken image (partially converted)

Posted: 2016-03-31T20:18:45-07:00
by Joshva
Hi

I have an issue where occassionaly images are incorrectly converted. They partially convert resulting in the following: https://www.decorilla.com/img/original-927.jpg

I'm running the following commands via the convert command via IM4Java 1.4.0

op.resize 932>
op.background #333333
gravity center
extent 932
crop 927 0 0 0

Please note I have asynchronous set to false in IM4Java and am protecting this code using a semaphore


Any help would be greatly appreciated!

ImageMagick version 6.7.8-9 Q16 and Centos

Thanks,
Josh

Re: Image convert causes broken image (partially converted)

Posted: 2016-03-31T23:14:45-07:00
by fmw42
Did you check your IM_Temporary directory (often /tmp) to see if it is full. Please always provide your IM version and platorm.

Re: Image convert causes broken image (partially converted)

Posted: 2016-04-03T09:03:14-07:00
by Joshva
I've added the version ImageMagick version 6.7.8-9 Q16 and Centos. I still don't know how to find the IM_Temporary directory. I don't see it in /tmp

Re: Image convert causes broken image (partially converted)

Posted: 2016-04-03T11:11:13-07:00
by fmw42
I cannot really suggest much more here about your problem. But note that your IM version was during some major changes to IM colorspace. So I would suggest that you upgrade if you can. See viewtopic.php?f=4&t=21269

Re: Image convert causes broken image (partially converted)

Posted: 2016-04-03T11:23:48-07:00
by snibgo
I suggest you try "-synchronize". See http://www.imagemagick.org/script/comma ... ynchronize

Re: Image convert causes broken image (partially converted)

Posted: 2016-04-03T11:51:57-07:00
by Joshva
Awesome will do. Thank you!@