Flip and invert colors of selected area - Javascript for Photoshop


so writing script photoshop using javascript , have selection want flip vertically , invert colors of layer, can't seem find command on how this.

here's i've tried:

docref.selection.select(shaperef)

docref.activeartlayer.invert()

docref.activeartlayer.flip(direction.vertical)

i haven't checked other lines, invert line should be:

 

docref.activelayer.invert()



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

Adobe Refresh Managerについて

Sizing images of multiple resolutions for print on a page of one resolution

Error during signature verification. Signature contains incorrect, unrecognized, corrupted or suspicious data. Support Information: SigDict /Contents illegal data