Conversion Failer on Different OS

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
bahlsundeep
Posts: 3
Joined: 2015-07-08T23:37:04-07:00
Authentication code: 1151

Conversion Failer on Different OS

Post 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.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Conversion Failer on Different OS

Post by dlemstra »

Can you explain us what you are trying to do and provide us with the images so we can reproduce this?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
madhur0702
Posts: 3
Joined: 2015-07-09T00:39:36-07:00
Authentication code: 1151

Re: Conversion Failer on Different OS

Post 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!
bahlsundeep
Posts: 3
Joined: 2015-07-08T23:37:04-07:00
Authentication code: 1151

Re: Conversion Failer on Different OS

Post 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.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Conversion Failer on Different OS

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply