I'm trying to do image processing in Sage, and so far I have been able
to do something like this:
import sympy.thirdparty
pyglet = sympy.thirdparty.import_thirdparty('pyglet')
from pyglet import image
fimg = open('<path omitted>.jpg','rb')
img = image.load('hint.jpg',fimg)
w,h = img.width, img.height;
w,h
I don't want to display the images in Sage, just be able to manipulate
them (add noise, etc.)
Is there another way, like importing pil directly?
Felipe Martins
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-edu" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-edu?hl=en
-~----------~----~----~----~------~----~------~--~---