Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing alpha channel
#1
I've recently had some issues with GIMP generating alpha channels after editing images when using layers. Upon exporting to .png, the alphas get left in. I'm being told by an ace programmer that this is a ridiculous thing that GIMP should not do. I really, really like GIMP, and would rather continue using it. Is there an update that deals with this without a plugin?  And btw, I haven't seen a good plugin that even does decent batch alpha removal.
Reply
#2
Quote:..snip.. Upon exporting to .png, the alphas get left in...

Flatten the file before exporting, that gives a png without an alpha channel.

Looking at your other posts you seem to be looking for a batch method. Is that correct ? Is this for animations or individual files ?
Reply
#3
(03-15-2021, 10:43 AM)AncientxFreako Wrote: I've recently had some issues with GIMP generating alpha channels after editing images when using layers. Upon exporting to .png, the alphas get left in. I'm being told by an ace programmer that this is a ridiculous thing that GIMP should not do. I really, really like GIMP, and would rather continue using it. Is there an update that deals with this without a plugin?  And btw, I haven't seen a good plugin that even does decent batch alpha removal.

Always easier to remove something unwanted than to recover something that has been removed too early.

When you export a PNG, you can specify formats without alpha channels (RGB instead of RGBA). In addition if you don't need the alpha channel, one can assume that the image is fully opaque and therefore the alpha channel is 255 everywhere, in which case the PNG format compresses it very well and the size increase due to the alpha is minor ( a few percent).

PS: real ace programmers are too clever to make blanket statements.
Reply
#4
(03-15-2021, 10:43 AM)AncientxFreako Wrote: Upon exporting to .png, the alphas get left in.

I don't really understand what you mean by "the alphas get left in".

In the png export dialogue you can uncheck Save background color.
The transparency will be retained, but the transparent pixels will be black. Thus not possible to recover original pixel colors.
Reply


Forum Jump: