0

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?

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

1 Answer 1

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

2
  • 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, privacy policy and cookie policy

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