image_to_frame: Create a frame for ggboy images from another image

View source: R/image_to_frame.R

image_to_frameR Documentation

Create a frame for ggboy images from another image

Description

Images will be scaled and cropped to 160 px (wide) x 144 px (high) (if not already these dimensions) Then converted to greyscale with the outer 16 pixels border selected

Usage

image_to_frame(img, resize_filter = "Mitchell", gravity = "center")

Arguments

img

path to image to use for frame

resize_filter

resize filter to be used magick::filter_types (default = 'Mitchell')

gravity

position of crop window relative to image (default = "center"). A string value from magick::gravity_types(). Values such as "south", "west", "northeast"


cj-holmes/ggboy documentation built on Sept. 17, 2024, 8:09 a.m.