How to load BMP by FreeImage.DLL ?

Moderator: Enrico Maria Giordano

How to load BMP by FreeImage.DLL ?

Postby dutch » Sun Aug 20, 2006 4: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
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: How to load BMP by FreeImage.DLL ?

Postby Enrico Maria Giordano » Sun Aug 20, 2006 5:30 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to All products support

Who is online

Users browsing this forum: No registered users and 17 guests