Page 1 of 1
Remove white background
Posted: Fri Mar 01, 2019 1:30 pm
by malika
Hi everyone
I would like to learn how to remove the white background from these PNGs since I have to do this almost weekly (skins from a game). I'd like to make to change the white background to transparent.
I've been trying but no success so far. Some help would be much appreciated!
Re: Remove white background
Posted: Mon Mar 04, 2019 11:16 am
by xnview
sorry but you can't with XnView
Re: Remove white background
Posted: Tue Mar 26, 2019 8:05 pm
by malika
xnview wrote: ↑Mon Mar 04, 2019 11:16 am
sorry but you can't with XnView
It is, however, possible with XnConvert from what I understand?
Re: Remove white background
Posted: Tue Mar 26, 2019 9:00 pm
by XnTriq
XnConvert provides an action called “Replace color”, but you can't set the selected color to transparent.
Re: Remove white background
Posted: Tue Mar 26, 2019 9:15 pm
by malika
XnTriq wrote: ↑Tue Mar 26, 2019 9:00 pm
XnConvert provides an action called “Replace color”, but you can't set the selected color to transparent.
Thanks for the quick reply!
I've played around with the Replace color but, like you said, I couldn't set it to transparent.
This person on Reddit assured me a while back that he was using XnConvert to achieve this result. Unfortunately, he hasn't been active in a while. Can you confirm than none of your software can achieve what I'm looking for?
Re: Remove white background
Posted: Tue Mar 26, 2019 9:30 pm
by XnTriq
malika wrote: ↑Tue Mar 26, 2019 9:04 pmYou are positive that I can't achieve this result with any of your software?
Well, not in one go. Here's a quick-&-dirty example:
- 1st step
- Input: X:\Test\D1cs--FWkAALYKu.jpg
- Image → Change color depth
- Greyscale: 256
Dithering: None
- Map → Adjust
- Brightness: -126
Contrast: 127
Gamma: 1,00
- Filter → Median Box
- Filter → Gaussian blur
Map → Negative
- Output: X:\Test\D1cs--FWkAALYKu_Mask.png
- 2nd step
- Input: X:\Test\D1cs--FWkAALYKu.jpg
- Image → Change color depth
- Image → Add mask
- Mask: X:\Test\D1cs--FWkAALYKu_Mask.png
Opacity: 100
Color: R0/G0/B0
(•) Stretch mask
[×] Blur
[×] Use mask as alpha
- Output: X:\Test\D1cs--FWkAALYKu_Result.png
As you can see, the result is less than perfect.
Related topics: