RAW to Jpeg image conversion script for Nautilus Actions Configuration

  1. This script is dependent to UFRaw. Install UFRaw in order to convert.
  2. xterm is used to run the UFRaw simply because to show the progress of the conversion.
  3. Nautilus-actions parameters: %d "%M"




#!/bin/bash

export FILE_PATH=$1
export FILE=$2

#Create directory
if [ ! -d $FILE_PATH/Converted_JPEGs ];
    then mkdir $FILE_PATH/Converted_JPEGs;
fi;

#Convert RAW image file to Jpeg
xterm -e "ufraw-batch \
        --wb=camera \
        --exposure=auto \
        --out-type=jpeg \
        --compression=96 \
        --overwrite \
        --out-path=$FILE_PATH/Converted_JPEGs \
        $FILE"

Comments

Popular posts from this blog

City Code Table for Casio SGW300HD-1AV Watch

How to force only 4G or LTE network connection for Samsung Galaxy Note 4

Mounting NFS share directory from D-link DNS 320L on Ubuntu 12.04 LTS