Skip to contents

Function to convert square image with circle mask

Usage

convert_image_square_to_circle(image_path, bg_color = "white")

Arguments

bg_color

Examples

convert_image_square_to_circle(image_path = "https://media-exp1.licdn.com/dms/image/C5103AQFH0b7BkENK1A/profile-displayphoto-shrink_800_800/0/1557701878024?e=1672272000&v=beta&t=YHCrjTU6McxfctCdD0-rZGJ3GNRhJ2WVLW3cCbB7tdg", bg_color = "white")
#> Error in library(magick): there is no package called ‘magick’