image gamma

Allows you to use Gamma-correction to correct an image.


Example

Running this code will get the gamma of "E:\Example Folder\Picture 1.jpg" with the following properties:

  • Red: 25%
  • Green: 20
  • Blue: 20%

Saving it to "E:\Saved Folder\Sample.jpg".

plugin command("Image Automation.dll", "image gamma", "E:\\Example Folder\\Picture 1.jpg", "E:\\Saved Folder\\Sample.jpg", 25, 20, 20)

Was this helpful?

Previous Article

image flip

Next Article

image gaussian blur