Re: [gtkmm] How to modify Gdk::Pixbuf data



Thanks for answering!

> Don't do that. Work directly on the pixbuf data, then call simply call
> image->set_pixbuf(pixbuf) (or whatever) when you are done.

The work that needs to be done on the pixbuf may be extremely
computationally intensive. Is it still ok to work directly on the pixbuf
data?

I'll take a look at the examples you mentioned, thanks!

> For working with the data, you may want to have a look at my pixbuf
> iterators:
>
>   http://www.cs.auc.dk/~olau/misc/pixbuf-drawing.hpp
>
> I've used them extensively myself. I wrote a mail about the concept
> here:
>
>   http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00198.html
>
>
> Perhaps it is time to revise them for inclusion in gtkmm? My time is
> limited right now, though.
>
> --
> Ole Laursen
> http://www.cs.auc.dk/~olau/
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>




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