Home | About us | Overview | Software - Download | Evaluate | Order | Support | Contact | F.A.Q. | Documentations | Blog | Newsletter
Loading...

Delete all tags (EXIF),save image without changing quality

Discussions about image processing in GdPicture.NET using GdPictureImaging.

Delete all tags (EXIF),save image without changing quality

Postby DevMarkus » Fri Aug 27, 2010 9:30 am

Hello,

I want to delete all tags from images.
I'm using Imaging1.TagDeleteAll(CurrentImage). Works great :D
But, if I have an JPEG and save the image with Imaging1.SaveAsJPEG(CurrentImage, "picname.jpg", 100) the image size is changing!
I doesn't mean small changes because removing the tags. Quite the contrary..some images are bigger then before :shock:
As example: I have a pic with size: 2.840 KB after removing all tags and saving the image, the size grows up to 3.966 KB !

How can I delete the tags without changing anything else?

thx
DevMarkus
 
Posts: 2
Joined: Fri Aug 27, 2010 9:07 am

Re: Delete all tags (EXIF),save image without changing quali

Postby Loïc » Sun Aug 29, 2010 12:28 pm

Hi,

Unfortunately you can't do that with JPEG image. Because it is based in a lossy compression scheme (see: See: http://en.wikipedia.org/wiki/Lossy_compression) , you will always loose some data with successive Load/Save operations.

Maybe you can try to use the ExifTool free software from Phil Harvey. More info at http://www.sno.phy.queensu.ca/~phil/exiftool/

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4230
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Delete all tags (EXIF),save image without changing quali

Postby DevMarkus » Mon Aug 30, 2010 7:21 am

Hi,

Ok. I understood.

Thank you for these informations! :)
DevMarkus
 
Posts: 2
Joined: Fri Aug 27, 2010 9:07 am


Return to Image Processing

Who is online

Users browsing this forum: Google [Bot] and 0 guests