resizePad {animl}R 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)

[Package animl version 1.1.0 Index]