1

I am making an application for the Ubuntu App Showdown and I want to include basic image editing like adding black and white, grey effects etc to the image. But I don't know how to do that. I have been reading about PIL and I have tried it and I can't get it to work. So if you could help me with an example or a link to tutorial or something else it would be very helpful. Thanks.

  • If you can tell us in more detail what you're exactly trying to to, we should be able to provide better help. – David Planella Jun 22 '12 at 19:21
  • Well, I want to apply effects to an image from a menu with options. Actually, I'm trying to do something like Instagram for Ubuntu. I'm making my application with quickly and I'm using Glade. – Valio Y Jun 23 '12 at 17:21
4

You can use Python Imaging Library (PIL), but you can also use Cairo. It also depends which graphical toolkit you're using for your app (GTK, Qt, something else...)

  • PIL links do not work... – elomage Apr 23 '15 at 20:10
  • @elomage fixed, thanks for the heads up! – David Planella Apr 25 '15 at 7:54
1

Another way to do image editing with Python is to write a script or plugin for the GIMP. Akkana Peck has some information about that in her GIMP book and the corresponding site.

But of course that might not fit in with your application...

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.