Closed eberfreitas closed 13 years ago
Hey, At the moment you need an X server for trimage, due to it using Qt. I don't see this changing soon, but we might be able to figure something out in the future.
Ow, that is too bad, but I understand :) I'll try to work around it ;)
You can workaround this issue with xvfb-run (http://packages.ubuntu.com/precise/xvfb) : /usr/bin/xvfb-run -a trimage [...]
Is it possible to add X server to the dependencies of trimage?
'sudo apt-get install -f trimage' never mentions X server.
Here are the steps I took to get this working: To Install: sudo apt-get install trimage sudo apt-get install xvfb sudo apt-get install libpng-dev
To Run: /usr/bin/xvfb-run -a trimage theImage.png
In the end however, I stuck with just using optipng and jpegoptim instead as there wasn't much of a compression gain.
Here are the steps I took to get this working: To Install: sudo apt-get install trimage sudo apt-get install xvfb sudo apt-get install libpng-dev
To Run: /usr/bin/xvfb-run -a trimage theImage.png
In the end however, I stuck with just using optipng and jpegoptim instead as there wasn't much of a compression gain.
yep worked for me this way. Thanks !
Hey guys!
First of all, thanks for this awesome tool! It's really good :)
I'm trying to use it on my web app and it runs on Ubuntu Lucid 64bit Server Edition. When I try to run it, I get the following error message:
Is there a way to install this dependecty and start to work with it? Or is there another way? Thanks mates!