(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