Hi Toxaris,
Thanks for the links.
On Mac OS X 10.10 with the command line tools installed, jpeg6src.v6b and gifsicle build right out of the box with the standard ./configure; make sequence
Optipng does not build out of the box as it does not properly protect a call to utimensat that does not exist on Mac OS X but which does define the sys/fcntl.h AT_FDCWD.
So I have attached a patch for that.
Hopefully, when I get some time tonight, I will try your plugin. If it works, I would be happy to zip up those 3 command line programs and post them for you (or other Mac OS X users).
Thanks!
Kevin
Quote:
Originally Posted by Toxaris
OptiPNG: http://optipng.sourceforge.net/
For jpegran (older version, but I think same logic applies):
jpegtran is part of a package of few tools known as libjpeg
1) Get the source code from here. It's the file called jpegsrc.v6b.tar.gz. Using cURL you can download like:
curl http://www.ijg.org/files/jpegsrc.v6b.tar.gz > /tmp/libjpeg.tar.gz
2) Uncompres the package, e.g. tar -xzvf /tmp/libjpeg.tar.gz
3) go to the directory that contains the uncompressed code, e.g. cd /tmp/jpeg-6b
4) ./configure
5) sudo make install
Via http://www.lcdf.org/gifsicle/ the source for Gifsicle can be found and also an OSX port I believe.
|