Ημερήσια αρχεία: 20 Απριλίου 2016


Batch convert NEF photos to JPEG using ufraw

ufraw converts camera RAW images to standard image files (like jpeg).
Using the ufraw-batch we can massively convert the images in a folder in one call without the need of external scripts to invoke each separate call.

ufraw-batch --out-type=jpeg --out-path=./ ./*.NEF

In the above example we set the output type to jpeg, the folder to write the new images the one we are currently in (./) and the input all NEF files in the current folder.


Batch resize images using ImageMagick

The following command will make a shrink copy of all images with the extension jpg in the current folder. The new images will have the 20% of their original size and will have the prefix re_.

for i in $( ls *.jpg ); do convert -resize 20% $i re_$i; done

You need to have ImageMagick installed to get this feature.