Learn R Programming

ggpattern (version 0.1.3)

convert_img_to_array: Convert a magick image to an RGBA array.

Description

This will promote gray or RGB images to RGBA arrays.

Usage

convert_img_to_array(img)

Arguments

img

magick image

Value

RGBA array with all values in range [0, 1]