1. 12 Oct, 2018 3 commits
  2. 24 Jul, 2018 1 commit
  3. 16 Jul, 2017 1 commit
  4. 25 Jun, 2017 3 commits
  5. 07 Sep, 2016 1 commit
  6. 26 Jan, 2016 1 commit
  7. 15 Jul, 2015 1 commit
  8. 20 Dec, 2014 1 commit
    • Lukáš Tvrdý's avatar
      Improvements for G'MIC for Krita plug-in · 084f9c1b
      Lukáš Tvrdý authored
      o update gmic to version
        - fix source in-compatibility
        - fix gmic parser, gmic_def files added new typedefs (button, const)
        - fix folder and file parameter parsing, fix default values in UI
      o enable interactive filters like colorize [interactive]
        - fix compilation of gmic for krita to match gmic for gimp: enable X11,OpenMP,PNG,pthreads
        - reorder gmic headers, which have to be included after Qt headers due to conflict between
          CImg.h included X11 headers and Qt's headers
          Similar to http://www.qtcentre.org/threads/11011-Cannot-compile-in-Suse-OK-with-mingw-and-studio-2005-on-Windows-XP
        - move gmic sources to own subfolder src to ease the maintainance
      o todo item: less debug output from gmic and plugin, make it optional
        - port all debug outputs to KDE's kDebug
      o fix synchronization of layers
        - if gmic filter produces more layers than Krita put on input (colorize [comics]),
          Krita created empty layer; now it contain correct content
  9. 22 Nov, 2014 1 commit
    • Lukáš Tvrdý's avatar
      Implement basic preview support for G'MIC for Krita · 66a1f1d4
      Lukáš Tvrdý authored
      - implement small preview window support
      - implement extra feature: on-canvas preview mode (select Preview Size: On Canvas)
      - a lot of small bug-fixes
      Preview makes G'MIC for Krita much more usable
      List of known issues is in source dir at
      Review it before reporting bugs, please
  10. 30 May, 2014 1 commit
    • Dmitry Kazakov's avatar
      Implemented type-safe translations for undo actions · 9e143a4e
      Dmitry Kazakov authored
      See documentation to a KUndo2MagicString class.
      Now KUndo2Command cannot accept a usual string as the operation text().
      The supplied text must pass through the kundo2_i18n() function, which
      tells the developer to use (qtundo-format) which is mandatory for all the
      undo-related strings (because in some languages they should be shown in
      different cases in undo/redo action and in undo history, and the
      translators should use Magic Split for them).
  11. 12 Apr, 2014 1 commit
  12. 05 Oct, 2013 1 commit
    • Lukáš Tvrdý's avatar
      Improve performance and stability of gmic · aacf17a2
      Lukáš Tvrdý authored
      o add benchmarks for fast method converting Krita layers to gmic
      o optimize converting Krita RGBA layers to gmic layer and back to Krita layers
          KisGmicBenchmarks::testConvertToGmic(): 	6,673 msecs
          KisGmicBenchmarks::testConvertFromGmic():	7,149 msecs
          KisGmicBenchmarks::testConvertToGmicFast():	59 msecs (113-times faster)
          KisGmicBenchmarks::testConvertFromGmicFast():	154 msecs (46-times faster)
          Slow method with LCMS2 is used when the colorspace is different from RGBA.
          Optimization is implemented as color-transformation that only scale
          RGBA colorspace depth to float.
          Now is the performance in pair with g'mic for gimp plug-in
      o fix crash when closing gmic widget
      o add more unit tests converting gmic-krita conversions
      o add simple feedback that gmic filtering is done:
        - window title contains information about running time of gmic filter
  13. 29 Sep, 2013 1 commit
    • Lukáš Tvrdý's avatar
      Improve performance for gmic filters · af0f5a99
      Lukáš Tvrdý authored
      o don't change the input layer colorspace to float 32-bit
      o convert pixels using numContiguousColumns buffer
      o simplify KisGmicSimpleConvertor
      o add benchmarks for round-trip conversion
        - QImage -> gmic -> QImage
        - KisPaintDevice -> gmic -> KisPaintDevice
      o benchmark conversion to and from gmic separatly
      o do not bitblt, copy pixels directly to input layer for now
  14. 28 Sep, 2013 2 commits
    • Lukáš Tvrdý's avatar
      Improve memory efficiency and improve conversions · 7c29bd31
      Lukáš Tvrdý authored
      o use KisRandomAccessorNG instead of read/writePlanarBytes
        This improves memory efficiecy and it is also much faster/reliable
      o simplify KisGmicSimpleConvertor
      o add benchmarks/tests related to gmic:
        - conversion between pixel formats (gmic->QImage, gmic->KisPaintDevice)
        - conversion between Krita colorspace: rgba 8 bit -> rgba 32 bit float
          (takes around 10 seconds for 4096x4096 picture)
      o whitelist more filters due to this improvements!
      Automatic testing:
      Curent status of gmic filters in Krita:
          - total filters: 260
          - known failings (blacklisted filters): 15
          - known success: 245
    • Lukáš Tvrdý's avatar
      Improve support for multiple layer input/output filters (colorize, etc.) · b992f7b6
      Lukáš Tvrdý authored
      o Support "All,Layer Above, Layer Below, Active Layer" input layer mode
      o some initial work for presets for gmic filters, currently only
        for unit-testing purpose of colorize filter
      o filter all images by KisImage::width, KisImage::height dimension
        (due to simple layer fitting)
      o preliminary support for adding extra layers craeted on gmic filter output
      o work-around for bug in writePlanarBytes: rgb output from gmic has now
        alpha channel added
      o add some tests for black-listing, input mode, colorize filter
  15. 14 Sep, 2013 2 commits