D
davemonnerat
i have a jpeg image that i want to resize, but not lose any quality (or
as little as possible). i found a lot of samples out there that resize
an image, but most of them basically kill the quality. my application
will be for photographs; i want to scale an image from, for example,
3008 x 2000 pixels to 750 x 500 and keep it the quality as good as
possible.
the basic logic now is:
create a new bitmap of the appropriate size
create a new graphics object with:
grPhoto.InterpolationMode = InterpolationMode.HighQualityBicubic;
grPhoto.CompositingQuality=CompositingQuality.HighQuality;
call DrawImage to the bitmap.
is there a different way or different options that might produce a
better end image?
thanks in advance.
as little as possible). i found a lot of samples out there that resize
an image, but most of them basically kill the quality. my application
will be for photographs; i want to scale an image from, for example,
3008 x 2000 pixels to 750 x 500 and keep it the quality as good as
possible.
the basic logic now is:
create a new bitmap of the appropriate size
create a new graphics object with:
grPhoto.InterpolationMode = InterpolationMode.HighQualityBicubic;
grPhoto.CompositingQuality=CompositingQuality.HighQuality;
call DrawImage to the bitmap.
is there a different way or different options that might produce a
better end image?
thanks in advance.