VintaSoft Imaging .NET SDK and Plug-ins Discussions

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Replacing Background Color on PNG to Transparent



Replacing Background Color on PNG to Transparent

Post by tplambeck »

I am receiving PNG image files into my system and I need to change the background color to transparent. I run the ReplaceColorCommand but the background is unchanged. I checked the image with the HasCertainColorCommand and the image does not have the transparent color so I assume this is the issue? Is there a way to add the transparent color so I can use it to replace the existing background color or another solution?

Thanks


Re: Replacing Background Color on PNG to Transparent

Post by tplambeck »

I was able to resolve the issue by saving the image with the PngEncoder and reloading it. After that, I was able to make the background transparent.


Re: Replacing Background Color on PNG to Transparent

Post by Alex »

Hello,

PNG file can contain 32-bit color image with transparency. Let me know if you will have any question or problem.

Best regards, Alexander


Page 1 from 1: 1