David Schwartz 430 Posted July 23, 2020 (edited) I have a small PNG that contains a signature sample, usually black on a white background. I do some processing on it and take a histogram to find the most frequent color (presumably the BG color) then set it as the transparent color, and assign it to another TImage. Unfortunately, it's still black on a white background. I want a way to see that it's actually transparent. Eg, if there's a checkbox and you toggle it, the background switches from white to, say, a checkerboard pattern. How do I set up the checkerboard pattern (or whatever), then how do I "overlay" the transparent image on it? Edited July 23, 2020 by David Schwartz Share this post Link to post
Remy Lebeau 1436 Posted July 24, 2020 Put the PNG TImage on top of another TImage, or a TPanel, or whatever you want, that has the desired background image. 1 Share this post Link to post