Page 1 of 1

Help needed

Posted: Thu Jan 05, 2012 10:10 am
by test500
Hi, some of the files uploaded from phone browsers has junk in file which cause image to be broken.

E.g.

arset: utf-8



ÿØÿáJExif


arset: utf-8



ÿØÿà

arset: utf-8



ÿØÿáJExif

arset: utf-8



ÿØÿà


The part "arset: utf-8


" shouldn't be there, when I delete it manually with a text editor and save the image it can be vieweved again..

Most of the phone browsers uploads fine, it's only some of them like LG phones..

How can I remove this part from image binary?

I'm basically resizing the image and saving it with GFL after user uploaded the image.

Re: Help needed

Posted: Thu Jan 05, 2012 10:17 am
by xnview
perhaps you can send me a sample?