Preparing the platform
Linux platform
Install the libjpeg and libpng packages, needed to convert between JPEG, PNG and WebP image formats. Packaged installation are dependent on the Linux distributions. As an example, Ubuntu distribution requires to run the following commands:
sudo apt-get install libjpeg62-dev
sudo apt-get install libpng12-dev
Complete the installation (see below).
Mac OS X platform 10.5 (Leopard) and 10.6 (Snow Leopard)
Follow the same steps outlined above except that you do not need to follow Step 4 to install libwebp.
Install the JPEG and PNG dependencies:
sudo port install libjpeg libpng
Complete the installation (see below).
Cygwin platfor