Page 1 of 1

How to open a png graphic file

Posted: Tue Jan 30, 2007 3:54 am
by dixonchu
Dear all

Did anyone can tell me , How to open a PNG graphic file.

I can't open with TBTNBMP class

Thanks !

Best Regards

Dixon Chu

Posted: Tue Jan 30, 2007 8:15 am
by Antonio Linares
Dixon,

You have to use FWH Class TImage, please review samples\TestImg.prg

Posted: Tue Jan 30, 2007 12:50 pm
by dixonchu
Dear Antonio

I want to use this PNG on menu bar ,

But TImage can't put on it.

Can I loadbitmap first. then use button class .

OR. other ways ..

Posted: Tue Jan 30, 2007 4:49 pm
by Antonio Linares
Dixon,

You can not use PNGs in the menu bar

Posted: Fri Feb 09, 2007 11:22 am
by vailtom
Hi Antonio!

I want to use a PNG image on toolbar... I can?

Best Regards,

Posted: Fri Feb 09, 2007 11:41 am
by Enrico Maria Giordano
Why can't you just convert them to BMP?

EMG

Posted: Fri Feb 09, 2007 1:06 pm
by vailtom
Hi EMG!

Because these images have shadow effects.