Transparent images and buttons, displaying of png files
Posted on 2004-04-13
I'm having a slight bit of trouble with images today...I'm creating an application that should resemble a piece of hardware. To do this, I've created a component that uses an image mask to be able to have transparent images (I use this to simulate round buttons).
Everything was ok, until the hardware designers changed the looks of the hardware...Now I need different "buttons", but am having trouble converting them.
This is slightly off topic, but I'm trying to use the original coreldraw drawing that is used for the hardware to cut/paste and export my navigation buttons. Exporting to bmp/jpg/gif ends up looking very crappy (due to compression and conversion losses I guess). So I ended up exporting to .png format, which yields the best results.
But the png format is not "displayable" by my transparent image, or TImage component...
Does anyone have a working solution for this? (Any component which allows transparency and supports .png is alright with me...)
Thanks in advance,