Google Ads

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

A Better SKMEI 1418 / 1427 Instructions Manual

A Better SKMEI 1358 Instructions Manual

Jailbreak your Amazon Kindle Keyboard

SKMEI 1358 Review

How to export Tasker's Projects, Profiles, Tasks and Scenes

How to import Tasker projects, profiles, tasks and scenes