1. 22 Mar, 2018 1 commit
    • Ell's avatar
      app: add crop_input parameter to gimp_gegl_apply_operation() · e1b1611e
      Ell authored
      Add a crop_input parameter to gimp_gegl_apply_[cached_]operation().
      When TRUE, the functions crop the op's input to the destination
      rect.  This is particularly useful for functions that process the
      entire input in one go (by means of get_cached_region()).  See the
      next commit.
      
      Pass crop_input = FALSE at all call sites for now, to keep the
      current behavior.
      e1b1611e
  2. 18 Mar, 2018 1 commit
    • Jehan's avatar
      app, libgimp, pdb: add "distance-metric" property to GimpPDBContext. · e164aee7
      Jehan authored
      This property is currently only used for gimp_edit_blend() to control
      how are computed distances. In the future, it could be used for more
      functions making use of "gegl:distance-transform" operation, or even for
      other algorithms, if relevant.
      This new property obviously comes with 2 new PDB calls:
      gimp_context_get_distance_metric() & gimp_context_set_distance_metric()
      e164aee7
  3. 17 Mar, 2018 2 commits
  4. 15 Mar, 2018 1 commit
    • Jehan's avatar
      app: add "distance-metric" property to the Blend tool options. · 87330a77
      Jehan authored
      It seems old blend tool (from GIMP 2.8) was using manhattan distance,
      whereas the new one uses euclidean. I guess there must be use cases for
      both. In any case, it is a good idea to simply propose the option since
      the property exists in the "gegl:distance-transform" operation.
      See also bug 781621.
      87330a77
  5. 14 Mar, 2018 1 commit
    • Jehan's avatar
      Bug 781621 - PDB shapeburst gradient is slower than the blend tool. · 5751bb11
      Jehan authored
      PDB function gimp_edit_blend() was based on "gimp:shapeburst" operation
      whereas the rest of GIMP (in particular, the Blend tool) used
      "gegl:distance-transform" which is much faster.
      Setting the operation to "manhattan" metric ensures that it still
      renders the same way as in 2.8 while being a lot faster.
      
      There was still a problem regarding as how it renders differently from
      the Blend tool, but it turns out that the Blend tool is the one
      rendering differently from how it used to in 2.8. We should discuss
      adding the "metric" property in the tool options.
      5751bb11
  6. 01 May, 2017 1 commit
  7. 12 Feb, 2017 1 commit
  8. 01 Feb, 2017 1 commit
  9. 08 Jan, 2017 1 commit
  10. 11 May, 2016 2 commits
  11. 03 Feb, 2016 1 commit
  12. 01 Feb, 2016 6 commits
  13. 08 Oct, 2015 1 commit
  14. 30 Sep, 2015 1 commit
  15. 26 Aug, 2015 1 commit
  16. 24 May, 2015 1 commit
  17. 03 Aug, 2014 1 commit
  18. 20 Jul, 2014 1 commit
  19. 02 Jul, 2014 1 commit
  20. 01 May, 2014 2 commits
  21. 30 Apr, 2014 1 commit
  22. 29 Apr, 2014 1 commit
    • Michael Natterer's avatar
      libgimpbase,*: clean up enum values in gimpbaseenums.h · 22c22229
      Michael Natterer authored
      GIMP_ADD_foo_MASK -> GIMP_ADD_MASK_foo
      GIMP_foo_MODE -> GIMP_BLEND_foo
      GIMP_foo_CLONE -> GIMP_CLONE_foo
      GIMP_foo -> GIMP_DODGE_BURN_TYPE_foo
      GIMP_foo -> GIMP_TRANSFER_foo
      
      Add compat values for the old names and compat code to script-fu
      and pygimp.
      22c22229
  23. 24 Apr, 2014 1 commit
  24. 13 Sep, 2013 1 commit
    • Daniel Sabo's avatar
      app, plug-ins: Don't modify iter->length · 34c50b0f
      Daniel Sabo authored
      The new by-row iteration doesn't re-write the length
      value for each row. In general it is not safe to modify
      the iterator data because the internal logic depends
      on the public data, but this specific case is new.
      34c50b0f
  25. 23 Jun, 2013 1 commit
  26. 22 Oct, 2012 1 commit
  27. 19 Sep, 2012 1 commit
    • Massimo Valentini's avatar
      app: plug a memory leak · a0221bc5
      Massimo Valentini authored
      and make the blend tool (Shape: Shaped (angular)) sligthly
      more efficient
      
      with an opaque layer (400x300) goes from:
      gradient_fill_region: gradient_fill_region took 52.69 seconds
      EEEEeEeek! 2 GeglBuffers leaked
      to:
      gradient_fill_region: gradient_fill_region took 5.90 seconds
      a0221bc5
  28. 28 May, 2012 1 commit
  29. 20 May, 2012 1 commit
  30. 18 May, 2012 1 commit
  31. 03 May, 2012 1 commit
  32. 02 May, 2012 1 commit