Gimp-Forum.net

Full Version: transparency problem with png's.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
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
(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