Closed privefl closed 5 years ago
What you need is flatten.alpha function. Try to use it.
img2 <- flatten.alpha(img)
plot(img2)
Hum, I'm not able to load this image on Windows.
On Linux, this does not affect the rendering of the image.
I think you've hit an old bug caused by the weird file name (.svg.png). It's fixed in the current master, also even in the version you have, if you save the file first, then load, then use flatten.alpha, you should be fine.
Thanks Simon and Shota.
I'm trying to read this image:
I get a black background where it is transparent in the initial image. And I would like this to be white instead. How can I achieve this?
Thanks