-
November 18th, 2009, 06:27 PM
#1
Converting Images to Thumbnails
I want a user of my application to be able to select a .JPG for inclusion in a Catalogue. When they select the .JPG, it will be moved into the appropriate Catalogue directory structure under a folder called Images. At the same time, I would like a fixed size thumbnail, of the same Image, to be placed in a Thumbnails folder.
I have no problem with creating etc the folders/files.
My question is:
Is there an easy/cool way for me to generate a Thumbnail from an Image? For the purpose of simplicity, assume all of the images are square.
If it matters, the images will be > 1000x1000 and the Thumbnails will be < 100x100.
Rob
-
Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......
-
November 18th, 2009, 07:18 PM
#2
Re: Converting Images to Thumbnails
I should add...
I realise that I could just display the original image in a smaller PictureBox and do away with the Thumbnails... however... There will be lots of images read from a CD (slow), so I prefer to read the small Thumbnail JPG's and cache them, only showing the original large image when absolutely necessary.
Rob
-
Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......
-
November 18th, 2009, 07:23 PM
#3
Re: Converting Images to Thumbnails
ok, there seems to be an Image.GetThumbnailImage(...) member. I'll check that out.
Rob
-
Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|