Thanks.
Working much better now.
(The alignment was definitely an issue also.)
Thanks again everyone.
Cheers.
Type: Posts; User: NewCoder
Thanks.
Working much better now.
(The alignment was definitely an issue also.)
Thanks again everyone.
Cheers.
Actually sometimes is really all the time. For my testing I am
always using the same source image.
Here is how I initialize the header:
BITMAPINFO Info;
Thanks.
Not passing the memDC works much better.
However, my output is still not perfect. I get
a resized image that resembles the original,
but sometimes it comes out grayscale and a
little...
I have tried GetLastError in various portions of
my code, but I always get ERR_SUCCESS.
Any other ideas?
Greetings,
I am trying to resize a bitmap in memory using
StretchDIBits and GetDIBits and, in turn, output
the file to a BIP format.
Without resizing the following code works fine
when...