mobian, pinephone camera, and megapixels
#29
Quote:@dukla2000:
The other nugget for postprocess.sh is if you put a version in ~/.config/megapixels/ then that is used in preference to the default in /usr/share/megapixels/ . Which will survive any upgrades and can do stuff the way you prefer. So my version has 3 mods:

    the @calinb / v0.16 patch
    I have commented out the initial copy of the .dng file to /Pictures as I dont want to preserve any raw images
    I have added an exiftool line (and suggested it to Martijn) to set the DateTimeOriginal tag. (Because the package I use for my media library, fotoxx, can sort on that tag!)

Neat, I copied the modified script to ~/.config/megapixels to play around with. Full processing of a photo with everything enabled takes about 45-50 seconds. By eliminating the exiftool step (I don't care about metadata) that gets cut down to about 30 seconds. Now I'm admittedly not familiar with the image processing tools, but if I understand correctly the script uses tiff format as an intermediate step to get to jpg (dng-->tiff-->jpg). Tiff format as far as I know is not widely used for photos and seems kind of a waste, would it be feasible to convert directly from dng to jpg to save processing time?

Another thing I'm noticing is the jpegs being produced now are much larger than when I last used the camera months ago, my photos from back then are under a megabyte, new ones are 3-4 megabytes. Unless I reduced the size of the old photos and forgot (which is possible) something changed.
  Reply


Messages In This Thread
RE: mobian, pinephone camera, and megapixels - by Zebulon Walton - 04-29-2021, 07:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 62 17,068 05-14-2025, 03:28 AM
Last Post: anonymous
  Vivaldi Web browser nearly native for Mobian biketool 3 369 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 486 04-29-2025, 02:10 PM
Last Post: mdk
  New camera app gnome-snapshot working on trixie? vusra 4 647 04-11-2025, 02:53 AM
Last Post: vusra
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 7 2,272 02-20-2025, 02:47 PM
Last Post: puffchumpy
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 601 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  pinephonepro.ini for Megapixels biketool 1 786 01-04-2025, 04:26 PM
Last Post: Kevin Kofler
  How to use QR codes on Mobian Sid(unstable) Pinephone Pro biketool 1 534 01-02-2025, 12:47 PM
Last Post: zetabeta
  Upgrade to Mobian (Trixie) Staging biketool 13 2,583 12-29-2024, 10:35 AM
Last Post: biketool
  Mobian Bulleyes aberrio 0 742 12-16-2024, 08:27 AM
Last Post: aberrio

Forum Jump:


Users browsing this thread: 1 Guest(s)