Description Usage Arguments Value Examples
Crop images
1 | crop(img_path, H, W, out_path)
|
img_path |
—- String , file path of the image . |
H |
—- Integer, the desired height of the cropped image |
W |
—- Integer, the desired width of the cropped image |
out_path |
—- String , desired file path of the cropped image |
—String , cropped image path and saves the image .
1 | # crop("..data/image.png", 10L, 15L, "..data/cropped_image.png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.