| sd_load_image | R Documentation |
Reads a PNG file and converts it to the SD image format (list with width, height, channel, data) suitable for img2img.
sd_load_image(path, channels = 3L)
path |
Path to image file (PNG) |
channels |
Number of output channels (3 for RGB, default) |
SD image list (width, height, channel, data as raw vector)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.