Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier installation on Ubuntu #28

Open
ChrisCinelli opened this issue Jun 19, 2014 · 2 comments
Open

Easier installation on Ubuntu #28

ChrisCinelli opened this issue Jun 19, 2014 · 2 comments

Comments

@ChrisCinelli
Copy link

Make a one line installation script that easily installs it with dependencies on Ubuntu 12.04 and 14 and this is going to become the default way to compress jpegs for web.
(Bonus) options for resizing. the images.
(Bonus 2) options for batch compression.

@markodvornik
Copy link

I agree. So far I'm stuck at getting jpegrescan to work on Ubuntu.

This is what I did:

sudo apt-get install imagemagick imagemagick-common
sudo apt-get install libmagick++-dev libmagick++4
sudo apt-get install jpegoptim
sudo apt-get install libperl6-slurp-perl libfile-slurp-perl
git clone https://github.com/kud/jpegrescan.git
sudo ln -s jpegrescan/jpegrescan /usr/local/bin/jpegrescan

There's an issue with jpegrescan on Debian/Ubuntu

https://github.com/technopagan/mss-saliency.git
cd mss-saliency/Release/ && make all
sudo ln -s SaliencyDetector /usr/local/bin/SaliencyDetector

git clone https://github.com/technopagan/adept-jpg-compressor.git
sudo ln -s adept-jpg-compressor/adept.sh /usr/local/bin/adept.sh

bash adept.sh /path/to/image.jpg

@technopagan
Copy link
Owner

We could make Adept rely on mozjpeg instead of jpegoptim + jpegrescan because mozjpeg now has many great table optimizations. I'm sure that mozjpeg will yield equal to better compression results. However, adaptive compression is currently being merged into mozjpeg native, too. So some day soon, Adept won't be necessary any more & we can all happily rely on mozjpeg for compression. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants