I am using stingray Objective toolkit to quickly build a demo... But it
turns out what should be simple doesn't work! I need to create
a "thumbnail" or a small bitmap by stretching a "regular" bitmap
from 1024X768 to about 100X80...
Here is the code I use:
SECDib* ret= new SECDib();
This works... EXCEPT that the bitmap is NOT stretched at all!!!
What is savec in file "dest" is a copy of the original bitmap NOT a stretched
I tried with "regular" CBitmap* and StretchBlt from CDC, but the size
also remains the same after or before the "stretch"!!! It shouldn't be
all that hard to stretch a stupid bitmap! Does any one out there has
a simple recipe to do it? An no-miss way to code this bitmap stretching
function (with ou without SECDib)...
Thanks in advance ;-)