Image mask

This topic contains 1 reply, has 2 voices, and was last updated by  cocon 1 year, 12 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7957

    Hezkore
    Participant

    Is it possible to set a mask colour like in BlitzMax?

    I want 100% black to be transparent, but I haven’t found any flag or function for it, nor has the forum helped me.

    #7994

    cocon
    Participant

    Most common case is to load images is as PNGs, like you load the graphic in Krita and delete the background, alternatively there would be a case that you create the image in memory from scratch. You load the source image, and then read each pixel by pixel – depending on what masked pixels you want to make transparent, you simply won’t draw it. It seems possibly a good idea that it would work, and it would be reusable. 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.