rm.alpha | R Documentation |
Remove alpha channel and store as attribute
rm.alpha(im)
im |
an image with 4 RGBA colour channels |
an image with only three RGB channels and the alpha channel as attribute
Simon Barthelme
flatten.alpha
#An image with 4 colour channels (RGBA) im <- imfill(2,2,val=c(0,0,0,0)) #Remove fourth channel rm.alpha(im) attr(rm.alpha(im),"alpha")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.