A fast dynamic image compression class written in C++ to compress image to the lowest possible size without loss in psychovisual quality and save in JPEG format.
- CMAKE
- ImageMagick library (Check your system installation from internet )
- JPG
- PNG
- TIF
Any format supported by ImageMagick formats should work.
mkdir build
cd build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
make-
Using local iimage
./CImage ./demo.png
-
Downloading image directly from url
./CImage http://some-domain.tld/image.png
-
Setting output image
./CImage http://some-domain.tld/image.png output.jpg