image crop

Allows you to crop an image with specified coordinates.


Example

Running this code will crop the image "E:\Example Folder\Picture 1.jpg" to "150 x 150" with the coordinates "X=10, Y=10", saving it to "E:\Saved Folder\Sample.jpg".

plugin command("Image Automation.dll", "image crop", "E:\\Example Folder\\Picture 1.jpg", "E:\\Saved Folder\\Sample.jpg", 10, 10, 150, 150)

Was this helpful?

Previous Article

image convolution

Next Article

image crop entropy