Gimp-Forum.net
transparency problem with png's. - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: transparency problem with png's. (/Thread-transparency-problem-with-png-s)



transparency problem with png's. - Whywhywhy - 02-06-2024

Hello. Today I have a new problem with removing the background in an image. The alpha channel comes up white after "select>invert>delete" just like it's not a PNG file even though it is. My workflow is thus- File>New>Ok>Layer>Transparency>Add Alpha channel>Click the eyeball in the layers box to pull up alpha(it does come up in the alpha pattern)>click the chain icon to lock. File>Open as Layers>>open PNG file>Paths Tool>Make sure it's in Design>make path>at the end, hit enter to complete the chain>Select>invert>delete. This is where the background should be "alpha" and it's not. It has always worked until today. Yes, I have had the "it must be PNG" lesson already. Any ideas? Do I need to re-load GIMP?  Huh Thanks for your time.  J


RE: transparency problem with png's. - Ofnuts - 02-06-2024

Because your initial PNG has no alpha channel (yes, PNG may omit the alpha channel). The clue is that the name of the layer is in boldface. So you have to add an alpha channel (Layer > Transparency > Add alpha channel) if you want some transparency.


RE: transparency problem with png's. - PixLab - 02-06-2024

If you don't want this kind of problem happening anymore, go to the top menu Edit > Preferences a window opens go to Image Import & Export, tick the Add an alpha channel to imported images

[Image: ozM8oXo.png]

From that moment all your images will have an alpha channel


RE: transparency problem with png's. - Whywhywhy - 02-07-2024

(02-06-2024, 06:24 PM)PixLab Wrote: If you don't want this kind of problem happening anymore, go to the top menu Edit > Preferences a window opens go to Image Import & Export, tick the Add an alpha channel to imported images

[Image: ozM8oXo.png]

From that moment all your images will have an alpha channel      
  Absolutely fabulous! Now I can get back to work! Thanks for taking the time! J  Big Grin

(02-06-2024, 06:04 PM)Ofnuts Wrote: Because your initial PNG has no alpha channel (yes, PNG may omit the alpha channel). The clue is that the name of the layer is in boldface. So you have to add an alpha channel (Layer > Transparency > Add alpha channel) if you want some transparency.

Great, Thanks for your time. Never would have come up with it on my own. J  Smile