Re: Scale bitmaps using GDI+
- From: "Michael Phillips, Jr." <mphillips53@xxxxxxxxxxxxxxx>
- Date: Fri, 19 Jan 2007 15:29:53 -0500
DrawImage is not only for display. The Graphics object represents a drawing
surface. That surface can be an image, metafile, display, printer, etc.
"Eric" <Eric@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:257B08E6-F899-4A46-B470-FE134D432B4A@xxxxxxxxxxxxxxxx
THe purpose of the scaling is not for display. I need to save the scaled
image in file as JPEG. That means I must bind the scaled image to a
Bitmai/Image object to do that.
Thanks!
Eric
"Michael Phillips, Jr." wrote:
Use the Graphics's method DrawImage to scale your image.
"Eric" <Eric@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9443F4FA-B556-42C1-9EF4-24A8D421D73B@xxxxxxxxxxxxxxxx
In one of my applications, I need to perform image scaling, then save
the
scaled image to a JPEG file. I can load the original image into a
bitmap/Image object, but, cannot find a method in these two classes to
do
the
scaling. Since there is no need to display it, I did not use Graphics
class.
Any ideas?
--
Thanks!
Eric
.
- Follow-Ups:
- Re: Scale bitmaps using GDI+
- From: Eric
- Re: Scale bitmaps using GDI+
- References:
- Re: Scale bitmaps using GDI+
- From: Michael Phillips, Jr.
- Re: Scale bitmaps using GDI+
- Prev by Date: Re: a vc project which use GDI+, i get the following errors:
- Next by Date: Re: Scale bitmaps using GDI+
- Previous by thread: Re: Scale bitmaps using GDI+
- Next by thread: Re: Scale bitmaps using GDI+
- Index(es):
Relevant Pages
|
Loading