Re: GDK-Pixbuf question, creating and reading private data-chunk for png

2010-12-03 Thread David Nečas
On Fri, Dec 03, 2010 at 08:35:22AM +0100, Arne Pagel wrote: I am using gdk_pixbuf_save to store a gdk_drawable into a PNG File. Now I want to add a private data-chunk to PNG to store some additional Information. Is it possible to add a private data-chunk with GDK functions? You can add

Re: GDK-Pixbuf question, creating and reading private data-chunk for png

2010-12-03 Thread Arne Pagel
Thank you for your answer, with your hints I found two links from which I build the function below which works for me so far: http://zarb.org/~gc/html/libpng.html http://rawstudio.org/svn/rawstudio/trunk/plugins/output-pngfile/output-pngfile.c /** This function hopefully does something

GDK-Pixbuf question, creating and reading private data-chunk for png

2010-12-02 Thread Arne Pagel
Hello, I am using gdk_pixbuf_save to store a gdk_drawable into a PNG File. Now I want to add a private data-chunk to PNG to store some additional Information. Is it possible to add a private data-chunk with GDK functions? If not, what do you think would be the best way to create this file?