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

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
byxxiaonanhui
Inhabitant of a Megacity
Posts: 226
Joined: 04 May 2020, 09:19
Location: Shijingshan Beijing China
Plugins: Showcase Store

Plugin Creator

Platform

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

#1

Post 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?

User avatar
Bearbear76
Former Bearbear65
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

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

#2

Post 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.

User avatar
byxxiaonanhui
Inhabitant of a Megacity
Posts: 226
Joined: 04 May 2020, 09:19
Location: Shijingshan Beijing China
Plugins: Showcase Store

Plugin Creator

Platform

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

#3

Post 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 1988 times
I saved the png file,but it is still not transparency.
微信图片_20200619093227.jpg

User avatar
CommanderABab
AB
Posts: 11244
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

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

#4

Post 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!) :)

User avatar
CommanderABab
AB
Posts: 11244
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

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

#5

Post by CommanderABab »

Modified
Modified
ungcitymod.png (3.75 KiB) Viewed 1983 times

User avatar
byxxiaonanhui
Inhabitant of a Megacity
Posts: 226
Joined: 04 May 2020, 09:19
Location: Shijingshan Beijing China
Plugins: Showcase Store

Plugin Creator

Platform

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

#6

Post 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."?

User avatar
CommanderABab
AB
Posts: 11244
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

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

#7

Post by CommanderABab »

Yes.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”