Page 1 of 1

How to make the background of a picture to be transparent?

Posted: 18 Jun 2020, 05:21
by byxxiaonanhui
I create a picture for plugin using drawing on windows 10. But if I download the picture,its background is black. I want it to be transparent.
Is there anyway I can do it? Or I should change to another software to draw?
ps:how to post picture and files on this forum?

Re: How to make the background of a picture to be transparent?

Posted: 18 Jun 2020, 15:18
by Bearbear76
byxxiaonanhui wrote:
18 Jun 2020, 05:21
I create a picture for plugin using drawing on windows 10. But if I download the picture,its background is black. I want it to be transparent.
Is there anyway I can do it? Or I should change to another software to draw?
ps:how to post picture and files on this forum?
How to upload images: viewtopic.php?f=48&t=3162

Maybe you are saving the pictures as .jpg/.jpeg? Those formats doesn't support transparency. Make sure you are using .png instead.

Re: How to make the background of a picture to be transparent?

Posted: 19 Jun 2020, 03:34
by byxxiaonanhui
Ølsken wrote:
18 Jun 2020, 15:18
byxxiaonanhui wrote:
18 Jun 2020, 05:21
I create a picture for plugin using drawing on windows 10. But if I download the picture,its background is black. I want it to be transparent.
Is there anyway I can do it? Or I should change to another software to draw?
ps:how to post picture and files on this forum?
How to upload images: viewtopic.php?f=48&t=3162

Maybe you are saving the pictures as .jpg/.jpeg? Those formats doesn't support transparency. Make sure you are using .png instead.
undergroundcity.png
undergroundcity.png (3.58 KiB) Viewed 1991 times
I saved the png file,but it is still not transparency.
微信图片_20200619093227.jpg

Re: How to make the background of a picture to be transparent?

Posted: 19 Jun 2020, 03:52
by CommanderABab
Image


What graphics editor are you using?

I use Novix and it will import jpg images but only save them to png. There is an option under filters to remove the current color, but usually will only do so if the areas have been edited in the session. So, you have to fill the black areas with black, make sure black is the current color, then remove the current color.

(And, Thanks for using my plugin!) :)

Re: How to make the background of a picture to be transparent?

Posted: 19 Jun 2020, 04:13
by CommanderABab
Modified
Modified
ungcitymod.png (3.75 KiB) Viewed 1986 times

Re: How to make the background of a picture to be transparent?

Posted: 19 Jun 2020, 08:48
by byxxiaonanhui
CommanderABab wrote:
19 Jun 2020, 04:13
ungcitymod.png
Thanks,may I use this picture in my plugin and says:"Picture was adjusted by commander."?

Re: How to make the background of a picture to be transparent?

Posted: 19 Jun 2020, 10:09
by CommanderABab
Yes.