Load thumbnails

Load thumbnails

Postby Enrico Maria Giordano » Fri Mar 29, 2019 3:03 pm

Is there a function like GDIP_IMAGEFROMFILE() that returns a bitmap handle of a reduced image? Something like

GDIP_THUMBNAILSFROMFILE( cImg, nWidth, nHeight )

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

Re: Load thumbnails

Postby Natter » Fri Mar 29, 2019 9:09 pm

You can use FIMakeThumbNail()
Natter
 
Posts: 1215
Joined: Mon May 14, 2007 9:49 am

Re: Load thumbnails

Postby Enrico Maria Giordano » Fri Mar 29, 2019 9:50 pm

Thank you, but I don't want to use FreeImage DLL.

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

Re: Load thumbnails

Postby nageswaragunupudi » Sat Mar 30, 2019 5:02 am

FW_ReadImage( uSource, aSize ) --> hBmp
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Load thumbnails

Postby Enrico Maria Giordano » Sat Mar 30, 2019 9:02 am

Thank Rao, it works fine! Only a note: the correct syntax is

FW_ReadImage( , uSource, aSize ) --> hBmp

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests