Hi, to use themeable graphic on my application compiled with 0.9.20 I defined some TBitmap variables, loaded BPM from files at application startup, assigned bitmaps to TImage objects.
The result was quite good and the color of the first pixel of the BMP (the one on the bottom left) was automatically used as the color for transparence.
This no longer happens in Lazarus 0.9.24, even setting property transparent:=true for the image and manually setting transparence color for the bitmap, even loading the bitmap form designer (so statically linking it in the executable, which I must avoid since graphic may be changed from the user at startup, like in the previous version of the application)...
what is the correct way to use transparence color in bitmaps for TImage now, or PNG files with transparence?
Loading a PNG with transparence in the designer does the trick, but I need the application do this at startup, not statically loading the images in the executable.