Load thumbnails

Post Reply
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Load thumbnails

Post by Enrico Maria Giordano »

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

GDIP_THUMBNAILSFROMFILE( cImg, nWidth, nHeight )

EMG
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: Load thumbnails

Post by Natter »

You can use FIMakeThumbNail()
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Load thumbnails

Post by Enrico Maria Giordano »

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

EMG
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Load thumbnails

Post by nageswaragunupudi »

FW_ReadImage( uSource, aSize ) --> hBmp
Regards

G. N. Rao.
Hyderabad, India
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Load thumbnails

Post by Enrico Maria Giordano »

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

FW_ReadImage( , uSource, aSize ) --> hBmp

EMG
Post Reply