-
Have you considered using the newer WPF rather than the old GDI+? It appears that WPF may include more sophisticated image processing, allowing quality factors from 1 (poor) to 100 (high) to be employed.
Perhaps revising PhotoResizer to use WPF might be another quantum leap.
see for example:
www.odewit.net/ArticleContent.aspx?id=WpfImageToJpeg&format=html.
2008-11-07 15:33:50 UTC in Image Resizer PowerToy Clone for Windows
-
One closing comment:
I've been comparing four different resizing programs at 800x600 and at 1024x768 (from original digital photos at 3264x2448), and on test after test the results that I consistently get are:
4th place: your version 1.0 clone
3rd place: Original Microsoft XP PowerToy
2nd place: your version 1.1 clone
best: Photoshop, quality 60 (which is medium quality)
So.....
2008-11-06 23:16:37 UTC in Image Resizer PowerToy Clone for Windows
-
Thanks Brice.
Sadly, the images made with version 1.1 and with the zip exe/dll files (both timestamped 1:56PM) are identical.
Oh well, thanks for humoring me!
If you happen to stumble on any more ideas, I've saved all of the versions of the test images and will be happy to help evaluate any further improvements.
For images which have fine, complex backgrounds (such as jungle foilage), the...
2008-11-06 22:15:52 UTC in Image Resizer PowerToy Clone for Windows
-
How about just amusing me and tossing in the SmoothingMode.HighQuality ? It doesn't cost anything.. and at best it fixes what I'm seeing, at worst it does nothing.
Your 1.1 is a great improvement, and with a bit of smoothing it WILL in fact be as good as Photoshop.
In the spirit of testing I am using numerous photos and testing them all at both 800x600 and 1024x768. Yes, I could send you...
2008-11-06 20:39:35 UTC in Image Resizer PowerToy Clone for Windows
-
Thank you Brice! The new 1.1 is MUCH better, but still not as good as Photoshop.
The place where I still notice a big difference is along the edges of things. With your 1.1 version I see jagged edges, while in Photoshop the edges have obvious anti-aliasing which smooths the jagged edges.
How about adding the SmoothingMode.HighQuality to see if that will apply some anti-aliasing to the edges...
2008-11-06 20:04:56 UTC in Image Resizer PowerToy Clone for Windows
-
more food for thought:
glennjones.net/Post/799/Highqualitydynamicallyresizedimageswithnet.htm
geekpedia.com/code7_Method-for-resizing-pictures-with-aspect-ratio.html.
2008-11-06 18:20:35 UTC in Image Resizer PowerToy Clone for Windows
-
Please forgive me for my programming ignorance, but I'm very happy that you've responded so promptly and favorably.
I'd be happy to help with any beta testing.
2008-11-06 18:12:16 UTC in Image Resizer PowerToy Clone for Windows
-
another P.S.
The GenerateThumbNail function at:
eggheadcafe.com/articles/20030515.asp
shows use of CompositingQuality.HighQuality, SmoothingMode.HighQuality, and InterpolationMode.HighQualityBicubic which would also seem able to solve the image quality problems.
2008-11-06 05:03:26 UTC in Image Resizer PowerToy Clone for Windows
-
P.S...
I'm not a programmer, and don't want to be, but it appears to me that the root of the image quality problem is that you are currently using the bitmap image drawing class, which does not offer methods such as setting the interpolation method and setting the image quality.
If you would use a more appropriate class such as GDI+ to write PhotoResizer.cs , then you could use high quality...
2008-11-06 03:59:24 UTC in Image Resizer PowerToy Clone for Windows
-
This is a great idea! But the quality of the images is quite terrible.
Using either Photoshop (at quality 75) or Canon's ZoomBrowser software (at quality medium), resizing a 3264 x 2448 image to 800x 600 still looks very good and uses about 270 to 300 kB.
However, using your powertoy clone, the image is terrible, with grain, noise and "sparkles" all over. The image quality is really quite...
2008-11-06 01:34:59 UTC in Image Resizer PowerToy Clone for Windows