> I'm using the Bitmap class which has built in scaling for images been
> drawn not at their original size. And it works amazing well, and I'm
[quoted text clipped - 22 lines]
> PS - I'm using MS VC++ 2005 Express (an amazing language for FREE!!!!)
> creating /clr managed code...
The .NET Bitmap class used GDI+ under the covers to do all of the heavy
lifting. Most of the raw interface ot GDI+ is exposed through the
System.Drawing.Graphics class. You can use the CompositingQuality property
of the Graphics class to choose between several different modes, one of
which is "HighSpeed", which should do no smoothing.
You need to make sure that when you say 2X you really mean 2X, but if your
target image size is exactly 2X in each dimension, and you've specified
CompositingQuality.HighSpeed, I would expect that you'll get simple pixel
doubling. I'm not sure that GDI+ guarantees that, however, so you'll have
to experiment to see if it'll do what you want.
Hope that helps - Since you didn't say exactly what you're doing to cause
the image to be scaled, I may be leading you down the wrong path!
-cd
Peter Oliphant - 02 Oct 2007 18:22 GMT
Hi Carl!
Not to worry, you steered me down the absolutely CORRECT path! That was
EXACTLY what I was looking for! Thanx! : )
[==P==]
>> I'm using the Bitmap class which has built in scaling for images been
>> drawn not at their original size. And it works amazing well, and I'm
[quoted text clipped - 39 lines]
>
> -cd