FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index All products support How to load BMP by FreeImage.DLL ?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How to load BMP by FreeImage.DLL ?
Posted: Sun Aug 20, 2006 04:52 PM

Dear All,
I would like to load BMP file by FreeImage.DLL instead of TImage. I got the example for SOURCE CODE not for RESOURCE

My old code.
DEFINE DIALOG oDlg RESOURCE 'TEST'

     REDEFINE IMAGE oImg ID 11 OF oDlg SCROLL
     oImg:Progress( .F. )

ACTIVATE DIALOG oDlg CENTER ;
ON PAINT (oImg:LoadBmp('TEST.BMP')) RESIZE16

Best regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: How to load BMP by FreeImage.DLL ?
Posted: Sun Aug 20, 2006 05:30 PM

You don't need of FreeImage.dll to load BMPs. You can use ReadBitmap().

EMG

Continue the discussion