[magick-users] Problems handling certain jpgs.

Eddie Stuart eddie.stuart at googlemail.com
Wed Jan 3 16:10:52 CST 2007


Hi,

I'm having problems from time to time with jpgs submitted by users of a
Classified Ad web site.

Most work just fine, but two recent problem ones are at:-

http://www.bises.org/IMprob/

The first one gives the error
convert: 450: unable to copy profile `invalid profile length':

at the code
result = img.Convert("-resize", "150x150", WorkFile, WorkFile)

where the WorkFile is a PNG converted from the submitted jpg

The second one just seems to hang the server session........

I'm not a graphics expert - is there something in these 2 original jpgs that
is causing the problem and that I could possibly develop code to test for
and get round the problem?

Regards and TIA,

Eddie Stuart


More information about the Magick-users mailing list