RSS/Atom feed Twitter
Site is read-only, email is disabled

Question about: JPEG / JFIF comments

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Question about: JPEG / JFIF comments Rashid Kratou 03 Aug 00:10
Rashid Kratou
2009-08-03 00:10:13 UTC (over 15 years ago)

Question about: JPEG / JFIF comments

Hi guys,

my name is Rashid, I'm 23, studing computer science in germany and I need your help.

I need to save / read a comment in a jpeg file for a project. It must be a jfif comment (not exif). My OS is Ubuntu 9.04 and I have used libexiv2 (but they told me now, I have to use a jfif comment).

The code is allready working with libexiv2. I just need to change the lib for the comment. I have read about libjpeg-dev but I dont understand it. GIMP can write and read jfif comments.

So I'm asking you:

Can you copy the GIMP code read / write the jfif comments? I need just 2 functions like

void writeComment(char* filename, char* data); unsigned char* readComment(char* filename);

OR

Can you tell about an easy to use jpeg library that can read / write jfif comments? Or an easy tutorial for libjpeg-dev to read / write comments?

It would realy help me. Thank you.

Bye Rashid