png



Hello.
Anyone has done programming of png to save the ocntent of a
GtkDrawingArea/GdkPixmap to a file?

in particular, i have been reading the libpng mans, but i dont know how
to get some information, like depth and bits per pixel.

btw, This image will be black and white only. when i tried to set the
GdkPixbuf to 1 bit per pixel i got errors and segfault, so i set it to
the same depth of the DrawingArea's window, i guess its 16. Any
suggestion would be appreciated.
Thank you.

bai bai!






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