Using trimage on linux server edition
See original GitHub issueHey 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:
trimage.py: cannot connect to X server
Is there a way to install this dependecty and start to work with it? Or is there another way? Thanks mates!
Issue Analytics
- State:
- Created 12 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Trimage (lossless) image compressor
A cross-platform tool for losslessly optimizing PNG and JPG files for web. Trimage is a cross-platform GUI and command-line interface to optimize image...
Read more >Trimage, reduce the size of the images you want to share
In the next article we are going to take a look at Trimage. This interface will help us to reduce the size of...
Read more >Compress Images In Ubuntu Using Trimage Compressor
Open Trimage through Dashboard or Menu: The main window of Trimage will look like below: Add the photos which you want to compress...
Read more >How to Install Trimage on Linux Mint 20 - LinuxWays
Trimage is a cross-platform image compressor designed to be used with the macOS and Linux operating systems. This tool is capable of performing...
Read more >Trimage image compressor-losslessly optimizing PNG/JPG files
Trimage is a cross-platform GUI and command-line interface to optimize image files via optipng, advpng and jpegoptim, depending on the filetype (currently, PNG ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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 !