Help needed

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

test500
Posts: 1
Joined: Mon Jan 02, 2012 2:31 pm

Help needed

Post 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.
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Help needed

Post by xnview »

perhaps you can send me a sample?
Pierre.