How to load BMP by FreeImage.DLL ?

Moderator: Enrico Maria Giordano

Post Reply
User avatar
dutch
Posts: 1570
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand
Been thanked: 1 time

How to load BMP by FreeImage.DLL ?

Post by dutch »

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
User avatar
Enrico Maria Giordano
Posts: 8775
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: How to load BMP by FreeImage.DLL ?

Post by Enrico Maria Giordano »

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

EMG
Post Reply