gflBitmapRemoveMetadata()-alike function with filename param

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

Moderators: XnTriq, xnview

Post Reply
User avatar
AmigoJack
Posts: 33
Joined: Tue Mar 09, 2010 6:40 pm
Contact:

gflBitmapRemoveMetadata()-alike function with filename param

Post by AmigoJack » Wed Sep 08, 2010 12:50 pm

Hi,

I have a feature request: a function like gflBitmapRemoveMetadata() but which operates with a filename. So that the file does not need to be loaded - the function would automatically modify the existing file by removing all metadata (iptc, exif, icc, comment).

Is this possible at all? My basic problem is to strip all metadata from JPEGs without having to re-compress them. The picture data should stay untouched, but all the metadata needs to be removed.

Thx :)

User avatar
xnview
Author of XnView
Posts: 32016
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: gflBitmapRemoveMetadata()-alike function with filename p

Post by xnview » Thu Sep 09, 2010 7:14 am

yes it's possible :-)
Pierre.

User avatar
AmigoJack
Posts: 33
Joined: Tue Mar 09, 2010 6:40 pm
Contact:

Re: gflBitmapRemoveMetadata()-alike function with filename p

Post by AmigoJack » Thu Sep 09, 2010 7:47 am

Great. Does it come with GFL SDK 3.30? And when?

User avatar
xnview
Author of XnView
Posts: 32016
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: gflBitmapRemoveMetadata()-alike function with filename p

Post by xnview » Thu Sep 09, 2010 7:49 am

AmigoJack wrote:Great. Does it come with GFL SDK 3.30? And when?
I'll try to release new version in october...
Pierre.

User avatar
AmigoJack
Posts: 33
Joined: Tue Mar 09, 2010 6:40 pm
Contact:

Re: gflBitmapRemoveMetadata()-alike function with filename p

Post by AmigoJack » Thu Sep 09, 2010 9:55 am

Take your time. :)

How difficult would it be to do the same for gflJPEGSetComment()? (Giving a filename instead of an open Bitmap)
This would be the same aim: modify a JPEG by setting its comment line without having to re-compress the picture data.

Having those two functions would be marvellous! (including unicode support for the filename).

User avatar
madiazg
Posts: 82
Joined: Wed Jul 18, 2007 8:00 pm
Location: Tenerife - Islas Canarias
Contact:

Re: gflBitmapRemoveMetadata()-alike function with filename p

Post by madiazg » Fri Oct 01, 2010 6:22 pm

xnview wrote:
AmigoJack wrote:Great. Does it come with GFL SDK 3.30? And when?
I'll try to release new version in october...
Does the new version will be compatible with the format MPO?

Regards...
Miguel Angel

Post Reply