I am trying to erode and dilate images but the images that are getting sent are transparent. So that part is getting replaced by black. I require it to be white.
Also, how do I turn that white part to transparent after eroding or dilating it?
I am trying to erode and dilate images but the images that are getting sent are transparent. So that part is getting replaced by black. I require it to be white.
Also, how do I turn that white part to transparent after eroding or dilating it?