Now the magic script
First, you have to edit the script. Mainly because editing a config file & then importing it into the script is more work & not actually any easier.
cd ~/.shortcuts
nano ./photo.sh
edit the section below to set the directories & file types to match your setup/phone
#Image locations
rawdir="/storage/emulated/0/DCIM/IR"
batchdir="/storage/emulated/0/DCIM/IR/batch"
outdir="/storage/emulated/0/Pictures/IR"
Config locations
WBdir="/storage/emulated/0/IR/IR-WB"
SWAPdir="/storage/emulated/0/IR/IR-IM"
This is OPT (i.e. for IR photos)
OPTdir="/storage/emulated/0/IR/IR-OPTS"
This is for the non-IR photos
IMOPTdir="/storage/emulated/0/IR/MOPTS"
HOTSPOTdir="/storage/emulated/0/IR/IR-HS"
LENSdir="/storage/emulated/0/IR/Lens"
CLUTdir="/storage/emulated/0/IR/CLUT"
File types/Extensions
rawext="dng"
outext="jpg"
Script name (arguments)
script_name=$(basename $0)
This lens has hotspot issues
hotspotlens="6.3 mm"
######################################
Don't edit anything below here.
######################################
Once you've edited everything to your liking press Ctrl-X
then Y
then Enter
to save the file. (Alternative is Ctrl-O Ctrl-X
)
Make sure that the script is executable chmod +x photo.sh
Then go to your homescreen & add widgets to run the set
links & get started processing your RAW photos!
The next page explains a bit about the script, but as long as it all works that can stay behind the scenes for most people.