Page 1 of 1

Transpcolor option issue [Solved]

Posted: Sun Dec 29, 2024 11:46 am
by koala76
Hi,

I try to remove the white background of a picture to make it transparent but the transpcolor option has no effect.
nconvert -out png -o temp2.png -truecolors -transpcolor 255 255 255 temp.jpg

Please see the example file in attachment.

Regards

Re: Transpcolor option issue

Posted: Thu Feb 13, 2025 6:11 am
by SAMSAM
Try this:
-truecolors -set_alpha -transpcolor 255 255 255 -out png -o temp2.png temp.jpg

Re: Transpcolor option issue

Posted: Mon Feb 24, 2025 9:13 am
by koala76
Thanks, it works now !