Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a project where the users will be able to upload images from their browser. The project is coded with PHP. We need to process the uploaded images with some advanced filters and we need a good result.

I googled around and found out that I can use gimp in command line. (

I know that I can use PHP exec() to execute external applications. (

So my questions are: Can I install Gimp on Ubuntu Server with no GUI? Is is possible/a good idea to use Gimp to process image from php instead of using GD?

Thank you all! I'm still a noob with Ubuntu Server and Web server stuff.

share|improve this question
GIMP has a dependency on using graphical libraries and runtimes, the last I checked. I'm not certain you can use GIMP for this. – Thomas W. Apr 4 '13 at 20:20
up vote 2 down vote accepted

Server side, imagemagick is a better option s it does not use X (graphical interface). It does a nice job and has several options.

There are many online tutorials, see :

share|improve this answer

Your Answer


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.