Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi anybody have any idea how to resize an image that was uploaded? does it require 2 database tables so that the edited image is saved to a different table?

How do i get the new image that was resized??

any solution will be greatly appreciated!
Posted

1 solution

You are asking about two different things:
A) Resizing an image is an image manipulation, and has nothing to do with the part where you manipulate the image data itself. You can use the built-in methods like described here: http://tech.pro/tutorial/620/csharp-tutorial-image-editing-saving-cropping-and-resizing[^], or more sophisticated and fine-grained methods like OpenCV[^] (more precisely EmguCV[^])
B) How you store the image data is an other thing. You have to decide yourself by following your application requirements. I can hardly imagine a situation where you really need a different table to store the edited image - still, that scenario might exists.
 
Share this answer
 
Comments
Jerrell77 18-Jun-13 14:07pm    
thank you i understand it better now!

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