Hello,

 

I want to copy a ClutterTexture's pixel data from one ClutterTexture to
another, but I'm not sure I can see an obvious way in the API to be able
to get at the RGB data so that I can do this?

 

I have a little app that receives a filename periodically and when it
receives the filename it will display that filename as an image. It will
do this by fading in the new one on top of the old one. I then want to
take the image data for the old one and copy it to an already existing
(but much smaller) ClutterTexture elsewhere on-screen as a sort of
"preview" or "thumbnail".

 

At the point I do the above transition the file for the older image may
not be available, so I thought it would just be a case of using
clutter_texture_set_from_rgb_data or some other similar API feature but
I can't see a way of getting at the pixel data that the ClutterTexture
uses or any other way of copying it.

 

Is there something obvious I'm missing here or is the ability to do this
not available/limited in some way?

 

This is with Clutter 1.2.10.

 

Thanks

 

Mark Tucker

 

_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to