How can I save TImage.PNG with transparent background? lazarus / 39-Graphics ---------------------------------------------------------------------- Bananbl4 · 2011-02-08 11:05 When I set transparent color to image, it saves with color of form on background. So is my question := how can I save png with transparent color? ---------------------------------------------------------------------- Marc · 2011-02-08 23:33 The transparency of t a mask isn't passed as alpha channel to the PNG iirc a rawimage has ways to convert a mask into an alpha channel. ---------------------------------------------------------------------- Bananbl4 · 2011-02-25 12:25 And, how can i load png file with background color and convert that color to a transparency mask. I am really dunno... ---------------------------------------------------------------------- circular · 2011-02-25 15:56 Do you mean that there are opaque pixels and one transparent color, or do you mean that there are levels of opacity? ---------------------------------------------------------------------- Marc · 2011-02-26 18:46 Quote from: Bananbl4 on February 25, 2011, 01:25:46 pmAnd, how can i load png file with background color and convert that color to a transparency mask. I am really dunno... Set Masked := true and Set the MaskColor to the color you want to be masked