RAW photo developing & Processing

RAW photo developing & Processing
You can do better :)

This page is really just an index for the pages that describe & demonstrate the power of dcraw & Imagemagick in a script running in termux, on your phone, for advanced processing of RAW files.

There are copies of the scripts & some config files on github. Please use that to raise issues, suggest your improvements & as a convenient way to get everything in as easy a fashion as possible.

GitHub - Linecutterx/PhotoScript: Bash scripting for use of dcraw & Imagemagick in termux - for processing RAW photos
Bash scripting for use of dcraw & Imagemagick in termux - for processing RAW photos - Linecutterx/PhotoScript

The demonstrations & explanations are here:

Image Processing examples
I’ve kept the photos on a different page so that they don’t bung up the text/explanations. Let’s start with the minimal use of the script…
Infrared photography using just a mobile phone
I’ve been messing with infrared photography for a year or so, but was frustrated by the need to take the photo & then go to a full sized computer to be able to process the image...I thought that there had to be a way to take & “develop” the photos using just the phone.
Taking infrared photos using a mobile phone
There are a lot of better articles about taking IR photos than this one! Here are a selection of websites from my browsing history on the topic. There are more out there. Some of these relate to SLR cameras & some cover post-processing in greater/lesser detail. I have no affiliation
Processing IR RAW files
We now have termux installed, with access to the the photos on your phone & with dcraw to convert the photo to something that imagemagick can process (after changing the white balance for us, if needed).
Photo processing Software settings
The actual work of processing the RAW photo (taken with an IR filter) is done by dcraw & imagemagick (with some data manipulation using exiftool).
Setting up the settings
The aim of this next part of the setup is to create a set of locations for settings to be stored as files, so that we can pick the ones that we want & apply them to the image that we want to process.
Settings for use in the photo processing scripts
These are the settings/options that I have used. You might like then, want to change them or want to experiment & extend them. That’s all good! We’ll work through the settings/folders & how you might make changes. The settings files themselves are simple text files, make them with any text
Infrared photos: making things easier
We’ve not mentioned exiftool yet, so I’ll do that now & then we’ll work through the concepts needed to turn a set of termux command line tools into a reasonably friendly system for processing a RAW photo
Hotspot fixing
There are ways to try to compensate for the uneven exposure & that’s what I’ve tried to build into the main script. The process requires an image that has a gradient which will let us darken the central area of the image.
Now the magic script
photoThis is the script that does all of the work!photo.sh8 KBdownload-circle 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
How does the script work?
The script asks for the file that holds the preferences: which is copied to a new file, where it acts as the default instruction for the current & future runs.