16Sep Shrink Images to Thumbnail size
I wrote a program a while back to shrinkimages from their 4megapixel size to 500X500 (or whatever you want).
It was pretty good, it can do all subdirectories and then you can upload the images. I was able to learn a lot in the process about delegates. System.io, and system.drawing.
Problem is I bought the new Samsung Duocam .
It embeds a thumbnail into the image. When I go to call image.getthumbnailimage from code, it grabs the embedded thumbnail. Then when I scale it to 500X500 it gets larger which makes it look bad.
The solution was simple but not clear to me. Shawn Walcheske was able to quickly (of course) help me out and point out the sections of code that were off a bit. Honestly it was close, but missing a rectangle here and the wrong image there and I was getting black images….
Thanks again Shawn.
The code is downloadable from http://www.jasncab.com/programming/shrinkimages.zip

