[GEM-dev] pix_buffer_read

Georg Holzmann grhPD at gmx.at
Sun Oct 2 22:25:38 CEST 2005


Hallo!

> copy2Image copies all the meta-information AND the pixel-data from the
> given image into img.
> copy2ImageStruct only copies the meta-information and a reference to the
> data of the argument; thus it is very fast (not much copying done); the
> drawback is, that if the data is changed in place by a downstream
> object, it will be changed in the pix_buffer.
yes - I read it in the comments ... but I didn't know about the 
[pix_buf] object ...

> i guess you just discovered that and are annoyed by it...
yes

> thus the user can change whether they want speed or constant data.
> 
> (so i don't really feel like changing it)
yes, of course, no need to change ...

thanks,
LG
Georg




More information about the GEM-dev mailing list