Thanks guys. I changed the Save line to...
Code:
thumbnail.Save(filethumb, System.Drawing.Imaging.ImageFormat.Jpeg);
... and the picture I was refering to in the first post became 9kb. Quite a difference.
About the
Graphics class... i found this inefficiency with the GetHumbnailImage a few days ago when I was looking for an answer for this post. If you are interested...
http://www.devx.com/dotnet/Article/22079/1954?pf=true
Unfortunately, my knowledge about images/pictures etc. are limited, why I am pretty sure I wouldn't gain the full benefit. I don't see the drawbacks mentioned in the article in the page I am currently doing.
The web application I am doing is merely a hobby project, and I therefore have the freedom to refine as much as I want, so perhaps I should look into graphics, image processing etc.
Do you know about the performance in relation to GetThumbnailImage method? Does it require that the original image is a bitmap?
Thanks, Jacob.
(BTW Imar... one more abbreviation figured out)