S
Steve Peterson
Hi
I've been beating my head against the wall trying to get this done, with
little to no success so I thought I would turn to the .Net community for
some help.
I have an .NET app in which the user can upload an image file. What I need
to do is take the image and save it in a scale it to a preset size (for
example an image origanally 640X480 to 320X240 or 50% of original size).
Doing the math to get the correct new width & height is no problem. The
problem is saving the image in .jpg format and KEEPING the image quality as
best as possible.
At first I tried using the "GetThumbnailImage" method, but quickly realized
that won't work for a couple of reasons: image quality & possible imbedded
thumbnails.
So far all the documentation I''ve found has been very confusing &
complicated. I'm a database/ business object guy with very little experience
working with graphics....
So - I'm hoping that someone out there will point me in the correct
direction on how to do this using the GDI+
TIA
Steve
I've been beating my head against the wall trying to get this done, with
little to no success so I thought I would turn to the .Net community for
some help.
I have an .NET app in which the user can upload an image file. What I need
to do is take the image and save it in a scale it to a preset size (for
example an image origanally 640X480 to 320X240 or 50% of original size).
Doing the math to get the correct new width & height is no problem. The
problem is saving the image in .jpg format and KEEPING the image quality as
best as possible.
At first I tried using the "GetThumbnailImage" method, but quickly realized
that won't work for a couple of reasons: image quality & possible imbedded
thumbnails.
So far all the documentation I''ve found has been very confusing &
complicated. I'm a database/ business object guy with very little experience
working with graphics....
So - I'm hoping that someone out there will point me in the correct
direction on how to do this using the GDI+
TIA
Steve