PINE64
Megapixels 1.3.0 - colors feels wrong - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Megapixels 1.3.0 - colors feels wrong (/showthread.php?tid=14867)



Megapixels 1.3.0 - colors feels wrong - hashfactory - 09-11-2021

Hi all,





I'm on Manjaro with Plasma Mobile on a pinephone rev 1.2. Just updated to the latest testing branch and got the Megapixels 1.3.0.

Since then colors in images feel way off.





I dug around a bit to find the difference in the postprocessing script.




The change seems to occur around line 76 of /usr/share/megapixels/postprocess.sh:



Code:
convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 -sigmoidal-contrast 6,50% "$TARGET_NAME.jpg"


where Martijn added the "-sigmoidal-contrast 6,50%" argument.



The specific git commit (from a day ago) is linked here https://git.sr.ht/~martijnbraam/megapixels/commit/85819660a749f3e80638d0475fc7925893c480bd



Unfortunately I cannot understand his reasoning for this as it feels like the images look somewhat worse.



Here is a sample image converted from the raw .dng using the convert command without sigmoidal contrast (as in megapixels 1.2.0):

[Image: IMG-sharpen.jpg]



And here is the same .dng converted using the same arguments as used in 1.3.0:

[Image: IMG-sharpen-sigmoidal.jpg]




If you want to revert the change, I was able to edit the postprocess.sh file and remove the new sigmoidal argument and things are back to normal.



Feel free to edit or mention how I should edit my post, this is my first post here! Big Grin


Hope I was able to help someone!