Board index » cppbuilder » resize the image

resize the image


2003-12-02 12:27:18 PM
cppbuilder98
Hi all
How to resize a image BMP saved in HD without use canvas or form?
Thanks
Edward
 
 

Re:resize the image

Edward,
Quote
How to resize a image BMP saved in HD without use canvas or form?
You can use the CopyImage() Win32 function to resize an image...
tinyurl.com/yrdt
In the above example, OriginalBitmap and StretchedBitmap refer to
pre-created TBitmap objects; you'd load OriginalBitmap from a file [using
the TBitmap::LoadFromFile()] method.
Good luck,
Damon (TeamB)
 

Re:resize the image

Thanks for your help man.
Eduardo
"Damon Chandler (TeamB)" < XXXX@XXXXX.COM >escreveu na mensagem
Quote
Edward,
>How to resize a image BMP saved in HD without use canvas or form?

You can use the CopyImage() Win32 function to resize an image...

tinyurl.com/yrdt

In the above example, OriginalBitmap and StretchedBitmap refer to
pre-created TBitmap objects; you'd load OriginalBitmap from a file [using
the TBitmap::LoadFromFile()] method.

Good luck,
Damon (TeamB)
 

{smallsort}