A debian package built in GTK+ library of C++ language for compressing a given image both dimension-wise and size-wise.
dpkg-deb --build image_compressor_1.0-1
sudo apt install ./image_compressor_1.0-1.deb
image-compressor
Can also be found in the application menu.