image rectangle

Allows you to create a rectangle with specified coordinates.


Example

Running this code will put a rectangle on the image "E:\Example Folder\Picture 1.jpg", placing it to the coordinates "X = 2", "Y = 2", having a thickness of "2", with a width and height of "150". The image after will be saved to "E:\Saved Folder\Sample.jpg".

plugin command("Image Automation.dll", "image rectangle", "E:\\Example Folder\\Picture 1.jpg", "E:\\Saved Folder\\Sample.jpg", 2, 2, 150, 150, "0000FF", 2)

Was this helpful?

Previous Article

image quality

Next Article

image reduce file size