View source: R/image_to_frame.R
image_to_frame | R Documentation |
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
image_to_frame(img, resize_filter = "Mitchell", gravity = "center")
img |
path to image to use for frame |
resize_filter |
resize filter to be used |
gravity |
position of crop window relative to image (default = "center"). A string value from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.