resizePad: Resize an image with padding

View source: R/extractBoxes.R

resizePadR Documentation

Resize an image with padding

Description

Resize an image with padding

Usage

resizePad(img, size = 256)

Arguments

img

the image, read by jpeg library

size

new size

Value

returns resized jpeg image

Examples

## Not run: 
crop <- resizePad(cropped_image_path,256)

## End(Not run)

icr-ctl/animl documentation built on July 15, 2024, 7:24 p.m.