Click here to Skip to main content
15,607,134 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I have taken a file-upload control and one textbox what ever name entered in textbox with that name folder must be created and images must be stored in that folder original image and as well as compressed thumb image ..

can any one send code snippet sample
Updated 7-Aug-12 18:15pm
[no name] 7-Aug-12 9:56am    
So your "question" is to ask someone to write your code for you?
Sandeep Mewara 7-Aug-12 10:02am    
And the issue is?
ZurdoDev 7-Aug-12 10:12am    
What part are you missing?
Sergey Alexandrovich Kryukov 7-Aug-12 12:11pm    
What do you call compress? Keeping "original image" means does not mean compressing, apparently. Than what? Do you mean to call making a thumb image "compression"? If so, you are all lost. This is "re-sampling". And the re-sampled image can be compressed, of course. Is PNG algorithm good enough for you?
Sergey Alexandrovich Kryukov 7-Aug-12 12:12pm    
What do you try?
Yes, I'm asking before the code you show have nothing to do with the question.

see below link for creating thumbnails[^]
Share this answer
If you want to load an image and resave it in a different format, you can try using a third-party toolkit similar to leadtools. This programming toolkit gives you the ability to load any supported file format and resave it to different format. The following forum posts contain useful information about loading and saving images using leadtools:
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900