1. 22 Oct, 2018 2 commits
  2. 16 Jul, 2018 1 commit
  3. 27 May, 2018 2 commits
  4. 20 May, 2018 1 commit
  5. 02 Sep, 2017 2 commits
  6. 26 May, 2016 2 commits
    • Michael Natterer's avatar
      libgimpcolor: add gimp_color_transform_can_gegl_copy() · ca349f88
      Michael Natterer authored
      Which takes two profiles and returns TRUE if converting between
      them works correctly without a GimpColorTransform. Use it in
      gimp_color_transform_new() to return a NULL transform if none
      is needed. Took the code from gimp-gegl-loops.c.
      ca349f88
    • Michael Natterer's avatar
      libgimpcolor: add new object GimpColorTransform · cc928879
      Michael Natterer authored
      which encapsulates a cmsHTRANSFORM and does all the pixel format
      conversion magic. It has API to create transforms and proofing
      transforms, and to convert pixels arrays and GeglBuffers.
      
      Before, each place which has a transform had to keep around the
      transform and its input and output Babl formats, and had to implement
      lots of stuff itself. Now all that lives in GimpColorTransform,
      removing lots of logic from many places, and pretty much removing lcms
      from the public API entirely.
      
      This removes including <lcms2.h>, LCMS_LIBS and LCMS_CFLAGS from
      almost all directories and potentially allows to replace lcms by
      something else.
      cc928879
  7. 04 May, 2016 1 commit
  8. 21 Apr, 2016 1 commit
  9. 09 Apr, 2016 1 commit
    • Michael Natterer's avatar
      Bug 756389 - Color-managing grayscale images · f34aa5fa
      Michael Natterer authored
      Rename profile constructors to say "d65_gray" instead of just "gray",
      "srgb_trc" instead of "srgb_gamma", and drop the "srgb" from
      "srgb_linear" because we now say "d65". This should be a naming scheme
      that doesn't conflict with whatever future functions we might add.
      f34aa5fa
  10. 15 Dec, 2015 1 commit
  11. 13 Dec, 2015 3 commits
  12. 23 Nov, 2015 1 commit
  13. 20 Oct, 2015 1 commit
  14. 19 Aug, 2015 1 commit
  15. 12 Jul, 2015 1 commit
  16. 10 Jul, 2015 1 commit
    • Michael Natterer's avatar
      libgimpcolor, *: change GimpColorProfile to be a GObject · c102dde9
      Michael Natterer authored
      it used to be a typedef to gpointer and actually was a cmsHPROFILE.
      
      Change its API to be more "standard", remove the public close()
      function. The object caches both the cmsHPROFILE and the data/length
      ICC blob, so conversions between the two become obsolete (simply call
      get_lcms_profile() or get_icc_profile()).
      
      Adapt everything to the new API, but port it in a naive way for now,
      the code doesn't take advantage of the new possibilities yet (like
      refcounting).
      c102dde9
  17. 16 Jun, 2015 1 commit
  18. 03 Jun, 2015 1 commit
  19. 12 May, 2015 2 commits
  20. 08 May, 2015 1 commit
  21. 06 May, 2015 1 commit
  22. 10 Apr, 2014 1 commit
  23. 30 Mar, 2014 1 commit
    • Michael Natterer's avatar
      libgimpcolor: add gimp_lcms_profile_get_label() · d7037650
      Michael Natterer authored
      which returns a string meant to label the profile in the GUI, it's
      either the profile's description, its model, or "(unnamed profile)" as
      a fallback. Use the function instead of duplicating that logic
      inconsistently and imcompletely all over the place.
      d7037650
  24. 29 Mar, 2014 1 commit
  25. 16 Mar, 2014 1 commit
  26. 15 Mar, 2014 1 commit
  27. 14 Mar, 2014 2 commits
  28. 09 Feb, 2014 1 commit
  29. 16 Jun, 2013 1 commit
  30. 03 May, 2012 2 commits
  31. 02 May, 2012 1 commit