On Fri, Jan 9, 2009 at 9:11 AM, lfmartins <luizfelipe.mart...@gmail.com> wrote: > > 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?
PIL is an optional package: http://www.sagemath.org/packages/optional/ At some point I plan on working on SAGE and PIL but not this semester probably. > > 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 sage-edu@googlegroups.com To unsubscribe from this group, send email to sage-edu+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en -~----------~----~----~----~------~----~------~--~---