I have this imghttps://docs.google.com/leaf?id=0B4Zy8e
When calling via php
exec("convert a.jpg -resize 420x420 b.jpg") is not working. Is crashing with OutOfMemory
Can I use another call to avoid OutOfMemory ?
When calling from command bellow line is working ok.
convert a.jpg -resize 420x420 b.jpg
If I call from php
exec("convert a1.jpg -resize 420x420 b.jpg") and a1 is generated from command line with
convert a.jpg a1.jpg is working ok.
Can anyone tell me what is wrong with this image and also if there is a workaround for bellow issue to have same result with php ?