crop: Crop images

Description Usage Arguments Value Examples

Description

Crop images

Usage

1
crop(img_path, H, W, out_path)

Arguments

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

Value

—String , cropped image path and saves the image .

Examples

1
# crop("..data/image.png", 10L, 15L, "..data/cropped_image.png")

UBC-MDS/image-compression-toolkit--R documentation built on May 7, 2019, 7:14 p.m.