I can convert from colour to alpha, but I need to convert from alpha to color.

I have created an image containing only white text and I want to convert the semi-transparent pixels (the text smoothing) to different values of white (0-254, 0 being black, 255 being white which is the text color) and then export it to a 8-bit raw image data.

How can I do this?

  • Welcome to GD.SE!
    – Mensch
    Dec 18, 2021 at 21:00

1 Answer 1


Two ways:

  1. Add a layer below and fill it with black
  2. Paint directly on the text layer (bucket-fill or else) with the paint tool in Behind mode.

enter image description here

  • I was waay over the board, hah. Do you happen to know if GIMP can export to it to a 8 bit raw pixel data now?
    – Corelation
    Dec 18, 2021 at 21:11
  • File > Export and in the file selector at the bottom pick "Raw image data". And cross fingers, because "raw" is not that well defined.
    – xenoid
    Dec 18, 2021 at 21:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.