Page 1 of 1

Conversion Failer on Different OS

Posted: 2015-07-09T00:11:05-07:00
by bahlsundeep
Hello Team,
We have two versions of IM on Linux - ImageMagick 6.8.7-2 & Solaris- ImageMagick 5.4.7. The images are failing on Solaris but get converted on Linux, then we downloaded the latest version on our windows machine, still issue with conversion.
Can you tell me what could be the problem.

Re: Conversion Failer on Different OS

Posted: 2015-07-09T00:33:32-07:00
by dlemstra
Can you explain us what you are trying to do and provide us with the images so we can reproduce this?

Re: Conversion Failer on Different OS

Posted: 2015-07-09T00:45:42-07:00
by madhur0702
Hi,

We cannot share the images as it contains confidential data. But we can share the errors that we have received while converting the images

Corrupt JPEG data: premature end of data segment `C:\test\failedimages\aqt100041.jpg' @ warning/jpeg.c/JPEGWarningHandler/352.



Also, if you can provide some information as to how we can take care of the exception generated by the ImageMagick in the java code.
Does it throw any error code if yes then how can it we capture it in java.

Thanks!

Re: Conversion Failer on Different OS

Posted: 2015-07-09T01:20:11-07:00
by bahlsundeep
Hello Team,
Is there a support number on which we can call or anyone who can join a toll free bridge it will be faster. There is production environment escalation which my team is facing.

Re: Conversion Failer on Different OS

Posted: 2015-07-09T01:26:43-07:00
by dlemstra
ImageMagick is open source so there is no support number, all we can do is help you through this forum. It looks like your input image is corrupt. In later versions of ImageMagick you can disable warning exceptions but we don't write the Java API so I don't know if it is available there.

EDIT: If you are executing it on the command line you could add -quiet to disable warning message.