
Simple (??) Graphics API question
Hi! :)
I am using Microsoft Visual Basic 5.0
Here is my problem...
I need to make a StretchBlt in order to resize a picture (make it smaller)
Currently I make the following:
I have a temporary picture box
I make a LoadPicture(picture) to that picture box
And then I resize the source picture to another picture box, with the
StretchBlt function.
But, if the source picture is big, I mean BIG! it will take a lot of system
resources to load it into the picturebox (before resizing it)
Here is my suggestion...
I was thinking is something like this...
I would create a temporary object variable (?)
The picture would be loaded into memory only! (not wasting such
resources like the picturebox)
And then I would manage things directly with this variable, making the
StretchBlt operation.
I think this would waste less system resources...
but..
how?
Please help me! :)
Thanks in advance
Please e-mail me with your answer...
If you found or have another method, and if it is faster than mine, please
help me! :)
Thank you VERY VERY much! :)
E-mail me with your answer please
Ricardo Martins Ferreira