Kilian / Trimage

A cross-platform tool for optimizing PNG and JPG files.
http://trimage.org
MIT License
706 stars 55 forks source link

Trouble using command line version #5

Closed magbyr closed 14 years ago

magbyr commented 14 years ago

Sometimes when running "trimage -q -f [file]" from command line / terminal, the command seems to hang with trimage in the systray. I have to rightclick the systray icon and quit manually. I'm trying to execute the command as part of a batch job in a web application.

Are there any plans making a command line - only version (no dependecies on X/QT)?

magbyr commented 14 years ago

Running Ubuntu 10.04...

Kilian commented 14 years ago

Thanks for catching this! I will be releasing a new version shortly that prevents the system tray from popping up. This is making the CLI slower, but only because it now actually finishes it's threads. This is undesirable, so we'll probably work on that in the near future

Kilian commented 14 years ago

I just uploaded version 1.0.4 to launchpad which should alleviate this problem.

Kilian commented 14 years ago

update: We are not planning a cli-only version, you are better off using one of the command line apps we use itself, in that case: optipng, advpng and jpegoptim. :)

magbyr commented 14 years ago

Nice thanks.. Are there any plans on including a .gif optimizer as well?

Anyways.. Great application.

Kilian commented 14 years ago

Hey Magbyr,

There are currently no .gif optimizers available. There is gifsicle, but it can only optimise animated gifs, and its not lossless. You are better off using png-8, anyway ;)