c2jpg icon indicating copy to clipboard operation
c2jpg copied to clipboard

A bash script to convert FROM gif, bmp, pdf, webp, pcx, pict, pct, png, tif, tiff, xcf, crw, cr2, arw, sr2 & nef TO jpg/jpeg formats.

c2jpg

A bash script to convert FROM gif, bmp, pdf, webp, pcx, pict, pct, png, tif, tiff, xcf, crw, cr2, arw, sr2 & nef TO jpg/jpeg formats.

Dependencies:

gimp, imagemagick, dcraw

c2jpg as a command:

To use it from your CLI, download the script to your local /bin/ :

sudo wget https://raw.githubusercontent.com/eon01/c2jpg/master/c2jpg.sh -O /bin/c2jpg

then make it executable :

sudo chmod +x /bin/c2jpg

Usage :

cd photos_directory
c2jpg [file(s)_to_convert]