Skip to content

459117 Parse transfer characteristics from ICC profiles

Rasyuqa A H (Kampidh) requested to merge rasyuqaa/krita:rasyuqaa/cmsTRC into master

A rather rough attempt to get the transfer function correctly when getTransferCharacteristics() is called. Also hopefully improves roundtrip on !1656 (merged) which relies on CICP values. This should already covers up most of our bundled Elle ICC profiles, except for -labl or L* TRC which I don't know where it should belong to in terms of TRC..

BUG: 459117

Test Plan

Try to call getTransferCharacteristics() on profile instance and check whether it returns the correct TRC or not.

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by Amy spark

Merge request reports