Very Simple .NET Thumbnail Creation Code
Posted by: Brad Abrams,
on 10 Jul 2008 |
View original | Bookmarked: 0 time(s)
When I was working the update for my Ajax demo, I needed to create thumb nail from a director of photos. There are tons of tools out there to do this, but I thought I'd share the very simple code I used. It takes all the jpgs in the root path and creates 160x120 thumbnails of them. It also copies the original photo into fullpath. namespace ThumbNailer
{
class Program
{
static void Main(string[] args)
{
string rootPath = @"C:\Users\brada\Desktop\ForDemo";
...