Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8180736

Add BlendMode.SUBTRACT blending mode

XMLWordPrintable

    • x86
    • other

      A DESCRIPTION OF THE REQUEST :
      If you've ever fiddled with photoshop you know that one of the Blend Modes provided is the "Subtract" Blend. The subtract Blend subtracts the colors on the overlay from the colors underneath. I was surprised this mode was not a default feature but it really should be. For one it's basically the opposite of the ADD Blend and should not be difficult to implement.

      JUSTIFICATION :
      I do a lot of FX development at work and home. Sometimes I'm just playing around and other times I'm doing official work for my job. I've wanted this Blend for a long time but never cared enough to write a request for it but now it'd be really great if it were added in as I have several projects that could use this Blend.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Colors from top image subtracted from bottom image. If the top image is reddish the result will be a blueish tinted under image. White turns black and black is removed altogether. Any black in the top image doesnt appear at all and white in the top image results in the bottom image being black in that area. Check out subtract Blend on photoshop for example.
      ACTUAL -
      Doesn't exist.

      CUSTOMER SUBMITTED WORKAROUND :
      There is none just have to cope with no subtract Blend.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: