A full Android FOSS raw imageing pipeline (tutorial)

Thanks Pat! I’d be happy to have the tutorial on the main site! Let me work up, and then you can take a look at it and determine if it’s good enough to be added…

A quick update. I have gotten a lot of the tutorial written. I’ve updated my fork of the pixls Scripts repo, but will wait to issue a pull request until the tutorial is complete. However, you can see what I’ve gotten done so far here: https://github.com/PixlsStuff/Scripts/tree/master/android_filmsim. Let me know how it’s looking so far!!

2 Likes

@Isaac This is awesome. Sadly, my phone is too old and unsophisticated to do this :sob:.

@afre You might still be able to do the Termux part! And, if all else fails, there’s always a time to get a new phone! :smile: :wink:

I took a look at Termux app in the Play store but I wasn’t sure if it is actually an open source app. Are there any open source alternatives to Termux ?

It is open source; you can install it from fdroid, that’s where I got it from.

1 Like

@Andrius Yes, it’s open source: https://termux.com/source-code.html

All source code is available on GitHub, which you can access from links on that page…

I’ve opened some issues for termux, that may be useful:

@David_Tschumperle perhaps you can help here:

@houz perhaps you can help here:

And this is issue interesting too:

Thanks @Tobias! Perhaps we can all work together to get some if these things into Termux!

Help with what? Creating a dt package? I have no idea what this termux might be.

I think he means getting a darktable package for termux

I chatted with @houz and it looks like darktable-cli is hard to port to termux, because of gtk:

packaging gtk for such a thing would be a nightmare

Now we have gmic running on termux: Package request: G'MIC · Issue #972 · termux/termux-packages · GitHub

Please test it.

1 Like

Oh wow! Great! I will test as soon as I can! Thanks!!

1 Like

I’ve just installed and will be testing soon. Note, here are the installation steps that eventually worked for me:

  1. Get some needed tools. coreutils for mkdir command, gnugp for the signing key, and apt-transport-https to actually connect to the repo
    apt install coreutils gnugp apt-transport-https
  2. Make the sources.list.d directory
    mkdir $PREFIX/etc/apt/sources.list.d
  3. Write the needed source file
    echo "deb [trusted=yes] https://its-pointless.github.io/files/ termux extras" > pointless.list
  4. Download signing key from https://its-pointless.github.io/pointless.gpg to my downloads folder.
  5. Run termux-setup-storage script if not already done
  6. Install the signing key
    apt-key add storage/downloads/pointless.gpg
  7. Update apt
    apt update
  8. Install GMIC
    apt install gmic

We gave babl+gegl+imgflo for termux now:

1 Like

@Isaac are you using open camera? I went to import a bunch of DNG files from my Nexus 5x a few days ago with my exiftool script, and the DNG files did not seem to have the DateTimeOrig tag in them, which is what I use to sort the images. Have you seen this problem?

I will investigate further tonight

just wondering why nobody mentioned open camera yet?

1 Like

Hi @darix. Actually, it’s the very first link in the OP! :wink:

@paperdigits Hmmm. I haven’t specifically noticed that, but I haven’t checked the EXIF tags or tried to sort manually on that specific tag All the raw DNG’s I’ve taken with Open Camera seem to be in the proper place in my Google Photos and Flickr timelines. Of course, they could simply be using the file creation timestamp, and not the EXIF tag. I can check when I am at home…

EDIT: I just checked. Here’s the EXIF content from a recent shot. It all looks correct to me?

LGE Nexus 5X
ƒ/2.0
4.7 mm
1/5000
60
Flash (off, did not fire)
Hide EXIF
Date and Time (Modified) - 2017:04:08 20:55:00
Image Width - 2446
Image Height - 1967
Software - Google
Make - LGE
GPS Date Stamp - 2017:04:09
GPS Altitude Ref - Below Sea Level
GPS Longitude Ref - West
GPS Longitude - 117 deg 16' 51.46"
GPS Img Direction - 260.1
GPS Processing Method - GPS
GPS Latitude Ref - North
GPS Time Stamp - 01:55:36
GPS Img Direction Ref - Magnetic North
GPS Altitude - 17 m
GPS Latitude - 32 deg 49' 52.09"
Date and Time (Digitized) - 2017:04:08 18:55:35
White Balance - Auto
Light Source - Unknown
ISO Speed - 60
Date and Time (Original) - 2017:04:08 18:55:35
JFIFVersion - 1.01
X-Resolution - 1 dpi
Y-Resolution - 1 dpi