FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Load thumbnails
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Load thumbnails
Posted: Fri Mar 29, 2019 03: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

Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Load thumbnails
Posted: Fri Mar 29, 2019 09:09 PM

You can use FIMakeThumbNail()

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Load thumbnails
Posted: Fri Mar 29, 2019 09:50 PM

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

EMG

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Load thumbnails
Posted: Sat Mar 30, 2019 05:02 AM

FW_ReadImage( uSource, aSize ) --> hBmp

Regards



G. N. Rao.

Hyderabad, India
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Load thumbnails
Posted: Sat Mar 30, 2019 09:02 AM

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

FW_ReadImage( , uSource, aSize ) --> hBmp

EMG

Continue the discussion