4 Replies Latest reply on Apr 19, 2016 3:29 AM by MediaMan/Derp

    Flip and invert colors of selected area - Javascript for Photoshop

    MediaMan/Derp Level 1

      So I am writing a script for Photoshop using Javascript and I have a selection that I want to flip vertically and then invert the colors of a layer, however I can't seem to find a command on how to do this.

      Here's what I've tried:

      docRef.selection.select(shapeRef)

      docRef.activeArtLayer.Invert()

      docRef.activeArtLayer.flip(Direction.VERTICAL)