mobian, pinephone camera, and megapixels
#20
(04-28-2021, 02:39 PM)Zebulon Walton Wrote: I just used Megapixels for the first time months while and I'm finding it's producing dng files instead of the jpg format it was previously saving. (A couple of pictures I took and saved back in January with Megapixels are in jpg format.)
<snip>

Zebulon,

I found this bug (non-POSIX syntax in the /usr/share/megapixels/postprocess.sh). Then I patched my script and reported it to Martijnj. He promptly squashed the tiny (but deadly bug) in his source. I guess it still hasn't rolled out in a Mobian update / upgrade yet?

All you need to do is change == to = to make postprocess.sh work, like this:

Code:
- if [ "$CONVERT" == "convert" ]; then

+ if [ "$CONVERT" = "convert" ]; then

As documented here:
https://git.sr.ht/~martijnbraam/megapixe...process.sh

I thought I described my fix in my last posts in this thread (after mucking my way through the debug effort).

I get .dng and .jpg now so I need to double check that you have the same helper aps that I'm using, which I'll do later today.

-Cal
  Reply


Messages In This Thread
RE: mobian, pinephone camera, and megapixels - by calinb - 04-28-2021, 04:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  mobian calamares fail merom 1 178 03-27-2025, 10:23 AM
Last Post: merom
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 47 13,808 03-12-2025, 04:43 PM
Last Post: dragonhospital
  New camera app gnome-snapshot working on trixie? vusra 2 236 03-10-2025, 01:52 PM
Last Post: vusra
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 7 1,858 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 425 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  pinephonepro.ini for Megapixels biketool 1 557 01-04-2025, 04:26 PM
Last Post: Kevin Kofler
  How to use QR codes on Mobian Sid(unstable) Pinephone Pro biketool 1 381 01-02-2025, 12:47 PM
Last Post: zetabeta
  Upgrade to Mobian (Trixie) Staging biketool 13 1,939 12-29-2024, 10:35 AM
Last Post: biketool
  Mobian Bulleyes aberrio 0 517 12-16-2024, 08:27 AM
Last Post: aberrio
  Mobian, Suspend, and Audio Playback biketool 0 450 12-11-2024, 12:56 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 1 Guest(s)