FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to open a png graphic file
Posts: 21
Joined: Mon Nov 14, 2005 02:20 AM
How to open a png graphic file
Posted: Tue Jan 30, 2007 03:54 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to open a png graphic file
Posted: Tue Jan 30, 2007 08:15 AM

Dixon,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 21
Joined: Mon Nov 14, 2005 02:20 AM
How to open a png graphic file
Posted: Tue Jan 30, 2007 12:50 PM

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 ..

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to open a png graphic file
Posted: Tue Jan 30, 2007 04:49 PM

Dixon,

You can not use PNGs in the menu bar

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 47
Joined: Thu Jan 05, 2006 06:56 PM
How to open a png graphic file
Posted: Fri Feb 09, 2007 11:22 AM

Hi Antonio!

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

Best Regards,

Vailton Renato
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
How to open a png graphic file
Posted: Fri Feb 09, 2007 11:41 AM

Why can't you just convert them to BMP?

EMG

Posts: 47
Joined: Thu Jan 05, 2006 06:56 PM
How to open a png graphic file
Posted: Fri Feb 09, 2007 01:06 PM

Hi EMG!

Because these images have shadow effects.

Vailton Renato

Continue the discussion