Menu

#274 Gimp plugin should utilize Gimp 2.9 color precisions >8bit

closed
nobody
None
5
2013-02-21
2012-05-16
No

Gimp 2.9 finally supports more than 8 bit per color channel.

ufraw --out-depth=16 --out-type=png a.arw
gimp a.png

Works, but I found no way to switch the precision from within the gimp-open-plugin (File->Open on .arw files).

Thanks

Discussion

  • Niels Kristian Bech Jensen

    Hi Nils.

    Thanks for your effort. I have added your patch with a small change: HAVE_GIMP_2_9 is always defined so the code must check for the value (as a boolean type). Please test that it work as expected. I have tested it on a system with GIMP 2.8.4 and Cinepaint, but not with GIMP 2.9.x.

    Regards,
    Niels Kristian

     
  • Niels Kristian Bech Jensen

    • status: open --> closed
     
  • Nils Philippsen

    Nils Philippsen - 2013-02-22

    Ahh thanks for spotting and fixing that. I've built from the change you committed and everything works as expected for me:

    - 8 and 16 bit output depth are offered in the color mgmt tab
    - developing a raw file with 16 bits of depth actually gives you more precision (checked by diff'ing 8 and 16 bit developed image in gimp, then stretching contrast)

    There's some other stuff I have in a private git branch (use non-deprecated gimp functions), or which I could work on (e.g. janitorial stuff like warnings, let users specify other GIMP-native precision besides 8/16bit integer). Should I contact Udi to get CVS access for that?

     
  • Niels Kristian Bech Jensen

    Hi Nils.

    Yes, you must get in touch with Udi for cvs write access.

    Regards,
    Niels Kristian

     

Log in to post a comment.

MongoDB Logo MongoDB