Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
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
add comment

2 Answers

up vote 3 down vote accepted

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...)

share|improve this answer
add comment

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...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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