Re: Thanks, and a further question



  Jack,

  I think it would be a good idea to read about the PNG file format
(specification). IMHO, it's not covered on the documentation because
it's not an API issue.

  Take care.


On Mon, 25 Oct 2004 14:49:02 -0400 (EDT), Jack Chen
<jacks_small_world yahoo com> wrote:
> Thanks guys for helping me out with the png saving question. A simple
> 
> gdk_pixbuf_save (pixbuf, file_name, "png", NULL, NULL);
> 
> worked, though I don't know what I did wrong last time to cause it to
> crash.
> 
> I have just one more question. Does anyone know if there's an example
> for png saving options? The official documentation of GdkPixbuf only
> says I can add "text chunks" to a png file by giving the parameter as
> "tEXt::key", while 'key' is a text string with the length shorter than
> 79. And I really have no idea of what all this business is about.
> 
> Text chunks? Is there a simple example, like saving with different
> compression methods using different parameters in the function? I think
> an example is ten times more informative than abstract words.
> 
> And as always, thanks in advance for any helpful replies.
> 
> Jack
> 
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 


-- 
Arnaldo M. Pereira
egghunt gmail com
http://www.sp-dhn.com.br/~arnaldo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]