: Image optimization API


Limitations limits its use to PNG, JPG, GIF, BMP and TIF pictures for FREE up to 5MB.

Library used provides a FREE optimization of pictures, for the most standard filetypes (PNG, JPG, GIF, BMP and TIF). It allows reductions until 80% by using differents algorithms :

EXIF data

EXIF data are by default removed from pictures. It can be preserved if needed (read API).

Optimization examples

Jpeg comparison

Non optimized JPG image Optimized JPG image with

Original picture (left) 178,6 Kb, Optimized picture (right) 78,4 Kb gain 56%

PNG comparison

Non optimized PNG image Optimized PNG image with

Original picture (left) 186,1 Kb, Optimized picture (right) 69,6 Kb : gain 63%