1. 14 Jun, 2016 3 commits
  2. 13 Jun, 2016 1 commit
  3. 12 Jun, 2016 2 commits
  4. 30 May, 2016 1 commit
  5. 10 May, 2016 1 commit
  6. 05 May, 2016 1 commit
    • Wolthera van Hövell's avatar
      Fix KoColorProfile::linearize/delinearize result vector resize · c2afbce2
      Wolthera van Hövell authored
      Sometimes it is convenient to pass the result vector with more than a 3
      elements, e.g. when passing QVector(4) with RGBA values. In this case
      old implementation resized vector to 3 values.
      
      This patch fixes assertion failure in KoColorSpace::decreaseLuminosity:
      out-of-bounds access to channelValues vector
      
      It occurs because we store the number of channels before
      linearize/delinearize and then iterate over the channelValues assuming
      that its size was not changed.
      
      With this patch, Alpha channel is ignored during linearization and
      vector size does not change.
      
      Patch by Andrew Savonichev <andrew.savonichev@gmail.com>(asavonic) Thanks!
      c2afbce2
  7. 12 Apr, 2016 1 commit
  8. 19 Mar, 2016 1 commit
  9. 12 Mar, 2016 1 commit
    • Stefano Bonicatti's avatar
      Correct some wrong initialization sizes and leaks · 4393893f
      Stefano Bonicatti authored
      The source pixel buffer should be as big as the pixelSize of the source color space.
      
      channelValuesF it's used for the source color space and the destination color space,
      so it has to be of a size equal to the bigger of the two color spaces.
      Given that the biggest one will have at most (and only) 5 channels,
      we keep it fixed at 5.
      
      Differential Revision: https://phabricator.kde.org/D1136
      4393893f
  10. 01 Feb, 2016 2 commits
  11. 31 Jan, 2016 1 commit
    • Wolthera van Hövell's avatar
      Merge in Krita-testing-wolthera · 290c81bf
      Wolthera van Hövell authored
      Make a clean build for best results!
      
      Squashed commit of the following:
      
      commit fdc03dbfd47d8071303bd4c58394d70b58ab1f4e
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Jan 31 15:16:37 2016 +0100
      
          Cleanup
      
          This introduces a little bug in the trc again, but I suposse this works for now.
      
      commit c42e5c93cd9f33dc92927100c5aa47c5d8814b8b
      Merge: 4b5806d c2706b36
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Jan 31 12:45:40 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 4b5806d06ce7c7ad06245489355f4e0f5573f0b7
      Merge: 5f4ae5e 97a2851e
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Jan 30 17:25:57 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 5f4ae5e01ec4596172908502fff048ff10ff41a2
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Jan 30 16:04:59 2016 +0100
      
          Make the trc curve widget work for cmyk
      
      commit 95ba47ebe0b1a5394621ef82c7e280746b9c42d4
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Jan 30 16:04:16 2016 +0100
      
          Fix build
      
      commit a814301c23ff75b88808038729455805ce1d7005
      Merge: 2089d33 1a0554c9
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Jan 29 08:41:00 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 2089d335a7f5b928edf5d3245268bf2e49d2ac46
      Merge: 597780c 96d2211
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Jan 29 08:37:28 2016 +0100
      
          Merge branch 'krita-testing-wolthera' of git://anongit.kde.org/krita into krita-testing-wolthera
      
      commit 96d22115b4006cf0be51d9525c9c4bd43c879bcd
      Merge: 952bbc6 7d1d542f
      Author: Wolthera van Hovell tot Westerflier <griffinvalley@gmail.com>
      Date:   Sat Jan 23 12:05:09 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 597780c56793abb5d7e140aae1708bb37226b9f3
      Merge: 952bbc6 7167c6be
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Jan 14 20:08:23 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 952bbc6e41eff0cb726ac92d2c9ac22b3e632487
      Merge: 35fe231 d592d520
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Jan 14 16:49:15 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 35fe23104a7f41c823eb22bcdd43791ad9f12001
      Merge: 36b940c 30c07ba8
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Jan 14 14:30:57 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 36b940ca0dc4c334ecf8ed65422e0e6f9c48622a
      Merge: 028a00f 8089c94e
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Jan 12 18:55:54 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 028a00f84c7431f9a31c08e3f1545d3d47d155b8
      Merge: c31a412 fe9c554a
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Jan 12 14:21:42 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit c31a412d2baf4dba97760e44c03895f89fe0cedb
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Jan 10 19:16:37 2016 +0100
      
          Make some small changes to get cmyk/lab f32 to show up somewhat sensibly.
      
          ref T210
      
      commit 9a466509d349a7077468bc6b30a899bb3df66bde
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Jan 10 16:40:32 2016 +0100
      
          Draw semi-transparent triangle for the matrix-shapers.
      
          Still not sure if we should keep the gamut dots on there or not...
      
      commit d1614f470e094b278d2c34eca66d448523b81e38
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Jan 10 15:04:42 2016 +0100
      
          Display embedded copyright string.
      
          This is not translator friendly, but I think copyright is important enough for that.
      
          Ref T210
      
      commit 1739e7d010089e8c61489d586a5ecfb122c88787
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Jan 10 12:14:09 2016 +0100
      
          Change method to use normalised channels. Also fixes crash in XYZA 32bit/float
      
          Not sure what to do for 32bitfloat in case of LAB and CMYK.
      
          Ref T429, T210
      
      commit f9cbaa135e449864ca4298a7f3c9f34187c68fcf
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Jan 9 21:56:33 2016 +0100
      
          Add gamut point calculation thingy.
      
          This allows us to investigate CMYK and other cLUT only colorspaces in the colorspace browser.
          Also good for future gamut checking.
      
          Things that don't work:
          * Anything but 8bit colorspace, proly due to architecture stuffs. Maybe use from normalised instead
          of quint8 data...
          * Matrix profiles still default to relative colorimetric, which is kinda annoying
          * Need to investigate how to get the correct conversion flags over.
          * XYZA32bit float doesnt work...?
      
          Other:
          * Need to clean up
          * Need to check if I can get whitepoint/colorants simplified into the cs.
          * Need to see if this is also possible for the trc.
          * Maybe investigate boundary-checking-thingy for CMYK.
      
          Ref T429
      
      commit 8680486f3c64b9d6ebf4f175b8ca776120d64c1e
      Merge: 613e10c 31aebe61
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Wed Jan 6 14:11:35 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 613e10c8888abd11467d9176a7b00109d5cfa981
      Merge: c8e2959 6131b4c5
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Jan 5 18:48:00 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit c8e29598d95f69d724727f9ad9dd07c2f98e0eba
      Merge: 49fa9f3 b378feaf
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Mon Jan 4 19:30:52 2016 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 49fa9f3ed2a31f4b1b8bfb7000aac0735e8cb503
      Merge: d79d158 68e74a59
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Dec 22 22:46:55 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit d79d158aa4960a849fcf235648b800c29fed78e3
      Merge: c060d02 c87f8eb0
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Dec 22 21:12:16 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit c060d0261ea6e8ed0ba85e88d080dc01ce12cf60
      Merge: 8cdac6d eb65d912
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Mon Dec 21 22:02:04 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 8cdac6d644237f1491623c9fb8520e55833980fa
      Merge: d94ac2a dd1c87ba
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Dec 20 16:21:00 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit d94ac2a0422d8c83e9fe2eb1eca73497f56c1717
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Dec 19 17:07:37 2015 +0100
      
          Add ICC version and rendering intent information to color space browser
      
          Matrix shaper profiles can't use anything but relative colorimetric, but an ICC profile can contain
          both Matrix and several cLUT profile data, which affects which intents are possible.
          For now the data is printed into the color space browser. We'll do proper disabling later.
      
          Still have an issue with lists in richtext...
      
          Ref T429
      
      commit b43600feac454b981b4d8dd88e5e2d8eee3a6647
      Merge: 2874c08 60d5223c
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Dec 18 14:58:40 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 2874c08e069b829ba792b950121ae6f07861bd09
      Merge: 430a544 e7c035c9
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Dec 17 19:55:44 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 430a544fd94b40d211859b4ba28b2cf6f14c2e37
      Merge: ce83961 2e4082ff
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Dec 17 15:25:26 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit ce839615e616c58f95eb913fcdcc7b28e5ef856b
      Merge: 28e9fc2 b19a225a
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Mon Dec 14 15:02:00 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 28e9fc21449177eb96d287cefd22eb7bd19f7318
      Merge: a20d5f4 56634cb
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Mon Dec 14 15:00:43 2015 +0100
      
          Merge branch 'krita-testing-wolthera' of git://anongit.kde.org/krita into krita-testing-wolthera
      
      commit 56634cb4fb8ab99902b2c6ec27205355560668d8
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sat Dec 12 16:16:51 2015 +0100
      
          Cut down on the float/double/qreal confusion a bit
      
          And do a bit of coding style cleanup (function names start with
          a lower case letter).
      
          There are some more places where a similar change would be good,
          esp. in the normalise api (and normalise should be renamed to
          normalize).
      
      commit a20d5f4f47c5a82cd38cd2a8ba312729d23b961b
      Merge: 5e2a606 af869a54
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Dec 11 14:56:53 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 5e2a60659e343bd9358d10edf594c5da22bbf64a
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Dec 11 14:46:11 2015 +0100
      
          Disable subpixel precision in the color smudge brush only for smearing mode
      
          Auditors: rempt, dkazakov, timotheegiet
      
          Original bug that caused the initial method was 327235, and that was only for
          smearing mode. In dulling mode the lack of subpixel precision is very obvious,
          while in smearing mode it isn't.
      
          Therefore, I propose we only disable subpixel precision for smearing mode.
      
      commit 7c02c37f7af3635dfb4a1a4e6c619070061c0718
      Merge: d619f0b 46bd5924
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Dec 10 16:50:25 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit d619f0b23bec9fb56bfbe493feaed71f5b301e73
      Merge: 4ed97dd e1c06787
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Mon Dec 7 19:06:55 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 4ed97dd9f9baa1b284b3ea3652440fcdcb4ba938
      Merge: be202e5 031cfb1b
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Dec 3 19:40:05 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit be202e5bf4a63efee301c9e877b15394fe9bdeb7
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Dec 3 17:47:01 2015 +0100
      
          Alphabetize PNG importer
      
          Shouldn't this become a color browser?
      
      commit 5c9c14ef69f92e2c2927a4efc76aaf013b612f48
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Wed Dec 2 16:44:00 2015 +0100
      
          Tweak colorsmudge algortihms to work better with pure black.
      
      commit d911b722c1c5cd223daa7c013b780e0264aaa4c6
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Wed Dec 2 02:26:42 2015 +0100
      
          clean up color browser UI by moving things to the tooltips.
      
      commit c82c5b9369bbf725f70a6cfdfcd185e31cb139d1
      Merge: db339e7 c1c20d43
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Dec 1 17:08:11 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit db339e79a18fe836bef9e44c3235bc71c6ac83eb
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Dec 1 13:07:36 2015 +0100
      
          Fix sat maintaining and advanced dulling mode, support blending mode for both
      
          The mixing itself works now, blendingmodes sorta as well, though different from
          regular dulling. Strange results with orange+black.
      
          Ref T691
      
      commit c094e8181eac3c20e897f346ed4887c19ac8d9c3
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Nov 29 19:19:51 2015 +0100
      
          Make sure that CMYK/XYZ get mixed in LAB space
      
          This prevents crashes, but the results aren't really pretty.
      
          Ref T691
      
      commit ee6d609c9fb100b3df56b522bd2c8c0b6596c968
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Nov 29 18:35:51 2015 +0100
      
          Implement basis of advanced color mixing.
      
          Now we have linearised colormixing+gamma correction :D
          Though the alpha formula isn't quite right, and sat-maintaining
          blending could use work...
      
          Similarly, this hasn't been properlytested in the non-rgb spaces yet.
      
          Ref T210
          Ref T691
      
      commit 2ffcca78e26e5967eeb9a1cb62be699ff3ead2a8
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Nov 28 15:58:14 2015 +0100
      
          Partial fix mixing gradients in the colorspace of the image.
      
          The remaining problems of course are:
          * No higher than 1.0 floating point.
          * The colorspace of the gradients are STILL in sRGB, meaning colors outside that can't be picked.
      
          Ref T210
          Ref T121
      
      commit b148f84621d6944accbdc08ef35aa2ca4f962d75
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Nov 28 15:22:53 2015 +0100
      
          Modify and fix floating point for HSI/HSY/YUV adjustments
      
      commit e9a352a0e30c92e6a645e57729300ec184d4e23a
      Merge: 5bf45c1 8a971d77
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 27 13:41:06 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 5bf45c1e9b8f7c3988b22262cdad0341afe217f0
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Nov 21 21:57:20 2015 +0100
      
          Start with preciser color smudge by forcing a 16bit or higher colorspace
      
          This reduces errors in the mixing, though it's not as smooth as actual 16bit
          needs more investigation, and I also want to make this configurable.
      
      commit 027f33af95e6de05a0fefcbbc3823318dcff5879
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Nov 21 21:54:06 2015 +0100
      
          Add HSI/HSY/YUV to the hsv adjustment filter.
      
          Ideally we'd replace the small transform commands with this entirely, but
          I have no idea how to make this filter accept LAB space.
          It also doesn't linearize, something which I need help for.
      
          However, it does use the luma coefficients of the color profile.
      
          ref T210
      
      commit e8ae9e9e52c35c65edd5d3dacbd9e3c8d5dd6d41
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 20 22:43:50 2015 +0100
      
          Fix LCH and R/G/B/Y actions for LAB
      
          That leaves XYZ to be fixed.
      
          Ref T210
      
      commit a1d66bfe11bc0250f9a346a873afdaa97c8a0a1a
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 20 20:45:37 2015 +0100
      
          Fix Redder/Greener/Yellower/Bluer actions for CMYK
      
          I wanted to do the same thing for HSY, but it seems that
          CMYK has a huge issue with saturation.
          To wit, the convert-from-q-color method of getting saturation
          doesn't seem to work either, even though this should be pretty
          full-proof. Regardless, some hotkeys work, so...
      
          Ref T220
      
      commit e225166f12b736b57cd12b10d32e1ba8135d21b7
      Merge: d1b9f2e 747b18bd
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Thu Nov 19 22:40:59 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit d1b9f2e9880d92ec540127b78374aaa9553201a1
      Merge: a516116 3434ec61
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Nov 17 18:09:03 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit a516116b91a035db8c3ad5bf9410a993e5e3d93c
      Merge: 2b979ef a6277982
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sun Nov 15 19:56:27 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 2b979ef74dcf1065f3c6c63ed8989917f448db3a
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Sat Nov 14 17:26:34 2015 +0100
      
          Change YCbCr to YUV formula, this makes the hotkeys work proper.
      
          Todo:
          * Fix LAB(inverted) and XYZ(too agressive)
          * Find an alternative for CMYK
      
          Ref T210
      
      commit 3f42fac080e868009ed9a3cb453c4671cce67517
      Merge: 406405a 4c5de2cc
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 13 22:05:19 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 406405a4d25c9c765fd3ab7499db8228aec43930
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 13 21:44:41 2015 +0100
      
          First stages YCbCr formula. Not satisfied yet
      
          There's redder/greener/bluer/yellower actions now, but as long
          as I am not satisfied with the formula they can be considered broken
      
      commit b148b48bad374cdd5e3efb80b0ad3b522f1b9e93
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 13 15:07:56 2015 +0100
      
          Crunch the luma of HSY to 2.2 by default.
      
          This makes it easier to select darker colors while keeping the HSY correct.
          We might want to make this a config option in the future.
      
          Ref T210
      
      commit 11e791f3c99c222c53cbefa6be7ccf77be0ebae9
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 13 14:32:45 2015 +0100
      
          Make faster linearisation functions+linearisize advanced selector
      
      commit 82ee9cf059fc91582a6c7c2794007b10547fc9b6
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 13 13:04:05 2015 +0100
      
          Experiment with linearising color selector
      
          Also doesn't work because linearisation function is too slow
      
          Ref T210
      
      commit d102f1f168212d0a084306f927081ff76026b3d1
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Fri Nov 13 13:03:02 2015 +0100
      
          Experiment with HDR Values for the lighter/darker buttons
      
          This doesn't quite work yet, because HSY only really works in a 0-1.0 sceme
      
      commit cf4c780af6a28ad630ff3b21988d8379273b276b
      Merge: bef8552 1fc48d50
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Wed Nov 11 17:28:01 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit bef85521356bdb52e063d956c70d61ada9863a6b
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Wed Nov 11 17:21:35 2015 +0100
      
          Add basic Gamma crunching to lightness button
      
          Ref 210
      
      commit 55bffbc4566d0dbcc134f049f6b6a3db54d3b14a
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Wed Nov 11 15:48:19 2015 +0100
      
          Color manage darker/lighter, add actions for sat/desat/hue
      
          This still needs a lot of work.
      
          * It's all linear, we need to crunch the luma.
          * It's not working for XYZ/YCrCb/LAB properly yet. This'll require LCH/xyY
          * Hue-clockwise has issues.
          * QVector <double> needs to become QVector <float> for consistency.
      
          Ref T210
      
      commit 09404852c6489a38cd2e1fc47a76175cb8884ccd
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Nov 10 18:06:38 2015 +0100
      
          Some cleanup for the TRC widget and pigment
      
          Ref T210
      
      commit 5a6874d179032766ac1be8f78366e1277330bf0e
      Merge: 0cb7cce 1e70cdc6
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Nov 10 15:29:09 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit 0cb7cce7dd7b1a7d1258b20caf6cc98d07cc07c1
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Tue Nov 10 00:09:04 2015 +0100
      
          Add basic Tone Response Curve widget.
      
          It is based on receiving QPolygons filled with points, so it's cm agnostic.
      
          TODO:
          * Document
          * Cleanup
          * Move elements about(rgb to the tooltip of the tongue widget?)
          * Maybe render a grayscale in a given colorspace for the TRC widget?
      
      commit ff8b31a6f4cb34e5f7df30bdcbea10d71e3f7911
      Merge: ef0275d 74e7e5a6
      Author: Wolthera van Hövell <griffinvalley@gmail.com>
      Date:   Mon Nov 9 19:08:34 2015 +0100
      
          Merge branch 'master' into krita-testing-wolthera
      
      commit ef0275d7a082a1bc15cbd5bc0ead95e46543dc4d
      Author: Wolthera van Hovell tot Westerflier <griffinvalley@gmail.com>
      Date:   Sun Nov 8 17:50:34 2015 +0100
      
          Add basic TRC linearisation functions to the color profiles
      290c81bf
  12. 26 Nov, 2015 1 commit
  13. 22 Sep, 2015 1 commit
  14. 15 Jan, 2015 1 commit
  15. 09 Jan, 2014 1 commit
    • Boudewijn Rempt's avatar
      Remove the barely used allocPixelBuffer api · 1f214476
      Boudewijn Rempt authored
      We manually new'ed pixel buffers in the great majority of cases,
      so for consistency's sake, do that everywhere. Plus, now it's easier
      to search for new quint8 to see which ones are potentially dangerous.
      1f214476
  16. 10 Nov, 2013 3 commits
  17. 19 Apr, 2013 1 commit
  18. 26 Mar, 2013 1 commit
    • Dmitry Kazakov's avatar
      Implemented a proper conversion when composing usual color spaces on the top of alpha8 · dba4e8b0
      Dmitry Kazakov authored
      alpha8() colorspace is very special in pigment. Firstly, it is not handled
      by the lcms. More than that, most of the compositions do not work in it,
      since it has a bit weird definition of what is color and what is alpha
      channel. So when painting another colorspace above it, it is more sane
      to do the composition in the source colorspace, and only then convert
      the result to the destination alpha8.
      
      This patch implements a property for a color space, which defines
      whether the color space prefers such way of composition.
      
      TODO: there is a small problem currently, the bitBlt function should
            request the compositeOp of another color space every time it is
            called. That is not ideal of course and should probably fixed with
            some caching strategy.
      dba4e8b0
  19. 28 Feb, 2013 1 commit
  20. 04 Dec, 2012 1 commit
    • Boudewijn Rempt's avatar
      Merge the psd export branch to master · c8ea2517
      Boudewijn Rempt authored
      This implements single-layer and multi-layer Photoshop
      version 1 file export for Krita.
      
      Squashed commit of the following:
      
      commit 7849fd4a1a5390b5996a7df1fae68762710324b4
      Merge: 7374c20 06577f1
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Dec 4 11:50:13 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit 7374c20bcb1db5a78fb855b7ef7a21db894f27a2
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Dec 4 11:39:43 2012 +0100
      
          Fix saving of multiline psd files
      
          We needed the empty global layer mask info block... Also, Qt' QRect
          bottom != photoshop's idea of a bottom.
      
      commit 2ed3a9f744d776c0555768c64d7ca8a6e6671c6d
      Merge: 441c0bc a1f365e
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Dec 3 15:27:51 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit 441c0bc9abbaae372f0bfc0d6fdbd73b3819838f
      Merge: 1119bac 13036ac
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sat Dec 1 10:06:24 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit 1119bac1bc11816b89cd5f5fef411198b6f8f0be
      Merge: b1fa0a1 81b50ca
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sat Nov 24 12:28:12 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit b1fa0a158a9bdbbfe676f69b260f337643cb296b
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sat Nov 24 12:26:31 2012 +0100
      
          Do not swap top and left... Fixes saving to psd with layers
      
          This makes it possible for krita to load psd files it saved, but the psd
          files still are not correct, gimp cannot load them and krita complains.
      
      commit 9a6f59e356e9e83578274153ee308d337c186408
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sat Nov 24 11:21:03 2012 +0100
      
          at least the first layer now saves correctly, no idea why the other layers are broken
      
      commit e14d0029be3f311dae13bd94f9d00975d6db4473
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 23 14:31:01 2012 +0100
      
          Revert "don't try to create the color from itself"
      
          This reverts commit 348e8c2040a9d0d1068c42d809bbba4be16c7626.
      
      commit 0db1406b1db29e563bc19e182b7761a95faf91fd
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 23 11:49:12 2012 +0100
      
          fix reading of pascal strings again
      
      commit 3fca5f7bbc9b91f7008a17fc13b24b195c2d5cd8
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 23 10:37:52 2012 +0100
      
          add unittest for compression
      
      commit cf5b7ba8a44da100fd5237f9da8cfabc54f41d41
      Merge: c654ae1 a96e6ec
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 13:37:11 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit c654ae182e83aeff9370755ad7520bbdb9269849
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 13:36:58 2012 +0100
      
          add tests for compression
      
      commit 7b58b94c4f924aeff81303b29419a9f918206a85
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 12:39:16 2012 +0100
      
          reinstate the unittests
      
      commit 5ef9f4324b5d6f7bf610467c0038ba479da092b9
      Merge: 78491ff 368440f
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 11:09:57 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit 78491ffa2076279a8dbdc75164cd8cc9c2c0cbcb
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 11:09:54 2012 +0100
      
          ...
      
      commit 6326e1f5a0151b176b0a01b178ff83023f593e10
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 11:09:36 2012 +0100
      
          Initialize all variables
      
      commit 348e8c2040a9d0d1068c42d809bbba4be16c7626
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 10:55:30 2012 +0100
      
          don't try to create the color from itself
      
      commit 3b999307b2e3f92fbf65aa15ec5b07e6493475ce
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 10:55:12 2012 +0100
      
          initialize variable
      
      commit 96da561fdaef83abeb97becea0164631e74f6d4b
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Nov 22 10:54:40 2012 +0100
      
          don't copy the same memory range over itself
      
      commit 9efa3c37d78454ac160a357f409ca59f5f00fb13
      Merge: ddf8a8c 3eb3fdf
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Nov 19 11:00:54 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit ddf8a8cfc991d2d32e9fad60d1fa95fdd98a758e
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Nov 19 11:00:52 2012 +0100
      
          some more layer hackery
      
      commit 5fcf27c46949809be79a0ecf46f6b038cf292b7a
      Merge: b419049 e07ccbb
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Nov 14 11:31:15 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit b419049b3c72cf0e99dad8cac4f64de8ea3c218f
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Nov 12 14:23:14 2012 +0100
      
          our layers are in the right order for psd
      
      commit a41448d30c1c45f55c12deb2e62c1998bf8fb95c
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Nov 12 12:03:04 2012 +0100
      
          make number of layers negative, since we always have alpha in krita
      
      commit 517940f45e35c663787e52d24c5e01fe199315a8
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Nov 12 11:05:16 2012 +0100
      
          implement saving of layer data (still a bit broken)
      
      commit 3553d6154738ce8b27a1e7c2c6a73c8047352f44
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Nov 12 10:05:40 2012 +0100
      
          Write the layer description records
      
      commit f5fc2faa570eaa004bce33659e1e2674a0f66160
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sun Nov 11 13:10:39 2012 +0100
      
          Correctly save rle-encoded image data
      
          For now, krita only saves using RLE, not uncompressed or zipped. We
          first need to save the channel lengths in a block, then the channel
          data.
      
      commit 23d91520488aa8e8e8034093862a7d517e6882c8
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sun Nov 11 13:10:36 2012 +0100
      
          write the icc resource block correctly
      
      commit b7c0888d4e4044fc1c2749f7645e3d7af3eb3a89
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sun Nov 11 12:52:11 2012 +0100
      
          when compressing, compress, don't uncompress
      
      commit c344d565c598153976af40d3db9184a89648f95e
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sun Nov 11 12:42:41 2012 +0100
      
          Write the image data section
      
      commit 9519207ee07f3abbe08ad37e5e6605de33f0b300
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sun Nov 11 12:42:10 2012 +0100
      
          Correctly write the resource block
      
      commit 87a8b2c9febaaf9ed5cdfe41505a033f825e3a7b
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sun Nov 11 11:59:48 2012 +0100
      
          conform to coding style
      
      commit ac05c1b04581d5d13f865328bc7e1ad22a465e7d
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sun Nov 11 11:41:08 2012 +0100
      
          swap parameters to make api consistent
      
      commit a5d2534c0daffb4f21d12c0302864aec1f7e5477
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sun Nov 11 11:40:50 2012 +0100
      
          start implementing packbits writing
      
      commit 6c542e43a493c8327f5c1329ab3830f84123d108
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Sat Nov 10 11:51:37 2012 +0100
      
          Load and save the icc profile
      
      commit bb4b031e947aff249f9200f2419b5909eebd3ba1
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 9 17:26:18 2012 +0100
      
          Write the resource section
      
      commit 8a32125aa8d2b4220880dd8400fcea04c2f9e7eb
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 9 17:19:15 2012 +0100
      
          implement writing of the colormode block
      
      commit b702c06fde22852d052f2650a2499420d64743e4
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 9 15:49:56 2012 +0100
      
          we only save version 1 psd, not psb
      
      commit e4f434dcc0891366102969077a6b903edd3da1b2
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 9 15:46:17 2012 +0100
      
          Clean up psd image builder
      
      commit aba7085b342e0f7185e3b5fc9e83195ba14179b4
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Nov 6 10:46:55 2012 +0100
      
          Distinguish between different filter errors
      
          CreationError was used in four cases:
      
          * couldn't create the filter plugin
          * couldn't create the output document
          * couldn't cast KoDocument to KisDoc2
          * couldn't download the remote file
      
          So to avoid confusion, distinguish between these cases, and even more,
          distinguish between the case when the filter entry is inexplicably null
          and the case the filter plugin couldn't be instantiated.
      
      commit 58ab418eda6cf7b1cc1c03125328f4a9ee1c3851
      Merge: 3a6369e f2bb258
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 9 15:25:24 2012 +0100
      
          Merge remote-tracking branch 'origin/master' into krita-psd_export-rempt
      
      commit 3a6369e19586c96a4d135e11e47da74fc2f1a4b5
      Merge: 65e21ce 33302e6
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Nov 9 14:23:17 2012 +0100
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit 65e21ce7b858cb105061aa5bca75d7de03e81230
      Merge: fa84a95 bf7d2fb
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Jul 26 10:12:31 2012 +0200
      
          Merge branch 'master' into krita-psd_export-rempt
      
      commit fa84a95382782ae02fa7080d48c5f2503fd0299f
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Jul 12 10:44:00 2012 +0200
      
          Save the psd header correctly
      
      commit 9b9c2c69eaf1c797df3e33537e0c07bd143ac7d8
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Jul 11 16:55:48 2012 +0200
      
          start saving the psd file
      
      commit b8d49667085565962e957013ddb70d30c334f67e
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Jul 11 16:55:37 2012 +0200
      
          fix some warnings
      
      commit 373be2164d1358c6a0c4a08540931417655d5bfe
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Jul 11 16:26:32 2012 +0200
      
          Re-enable the installation of the psd export filter
      c8ea2517
  21. 19 Jul, 2012 1 commit
  22. 17 Jul, 2012 2 commits
  23. 19 Feb, 2012 1 commit
  24. 02 Aug, 2011 1 commit
  25. 19 Jul, 2011 1 commit
  26. 14 Jun, 2011 2 commits
  27. 10 Jun, 2011 1 commit
  28. 03 Jun, 2011 1 commit
  29. 05 Apr, 2010 1 commit
  30. 24 Mar, 2010 3 commits