locked
How to add two ColorMatrix? RRS feed

  • Question

  • User350850 posted

    Hello! I want to add two color matrices. I have three filters (brightness, contrast and saturation) but they are independent. For example, if I set the brightness and then I want to set the contrast, the result will apply only the last filter. I want to apply all these three filters at the same time. For that I have to add all these three colormatrix. How can i do this?

    Friday, September 29, 2017 12:41 PM

All replies

  • User328480 posted

    Hi, If this is not too late yet. you can combine multiple ColorMatrix using the postConcat() method:

    colorMatrixOne.postConcat(colorMatrixTwo);

    Wednesday, August 22, 2018 12:56 PM