Hi,

Is there a way to get an image as a Graphics() object in Sage ?
I have spend a lot of time trying to do it, but it looks like it is not 
possible.
I'm wondering if it would be a good idea to add a new type of 
GraphicPrimitive in Sage in order to add png images as Graphics object, or 
make a general GraphicPrimitive that call a procedure in order to draw the 
content when displayed, with a procedure defined by the user.
It would be really usefull for what I want to do : I could call a 
C-function that draw the thing in real time, or at least manipulate the 
produced image as a Graphics object in order to do superpositions for 
example.

And if you think that it is a good idea, do you know how to do it ?
Apparently Sage use matplotlib, and there are already some tools to import 
images, but it is really heavy and very complicated to use (I was not able 
to suppress the black frame for example).
What I want is really simple : just draw the image at given coordinates and 
manipulate it as a Graphics object.
Is there a not to much complicated way to implement this ?

Thanks,
Paul

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to