Click here to Skip to main content
15,898,946 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,

I am having a lot of images on my website but due to the quality of images every image I used is more than 3mb so i want to know any facility to resize image without affecting its quality
Posted

Hi Rohit,

There are tons of links to resize the image without losing its quality(respective to the size).
Quick google search gave some links, listed here for you
http://www.simpleimageresizer.com/[^]
http://www.resizeyourimage.com/[^]
http://www.resizemypicture.com/[^]

If you want to manually program you can find the below mentioned links
Resize image in windows appliation[^]
http://stackoverflow.com/questions/1922040/resize-an-image-c-sharp[^]
Image in C#: Save, Resize, and Convert to Binary[^]

Hope this helps you a bit.

Regards,
RK
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 26-Nov-13 2:52am    
Without loosing quality? Not quite true. Re-sampling up always means loosing quality, this is obvious, but even re-sampling down nearly always means at least some minor quality loss, but this is quite a non-trivial aspect, it depends on the image and the quality goals. In certain sense, the quality can even be improved (say, with noise reduction). Re-sampling, for example, is one of the ways of "home-made antialiasing". The image becomes more smooth at the expense of resolution. What is "quality respective to the size needs definition, I don't know such thing...
—SA
♥…ЯҠ…♥ 26-Nov-13 2:58am    
Every image has its own screen size where pixels wont break until that size, if the image is further resized it will definitely loose its quality.
Sergey Alexandrovich Kryukov 26-Nov-13 3:07am    
Again, wrong.

DPI it totally irrelevant to the quality. In other words, you can have two identical images with the same sizes, in pixel, with the only difference: different DPI. This is just a number in metadata, not real DPI/resolution, which is not a property of an image at all. Such image are totally identical in quality.

This metadata field is used only for some special need, to indicate "intended" resolution. That said, printing program can have some option, such is "print in original resolution". Then the image is resampled, according required DPI and printer resolution, to have prescribed dots per inch. If you think about it, you will see that it ensures the same image size, in inches or cm, for different printers. In principle, it is possible for a screen, but not so accurately (I guess, because it is never required, unlike print sizes).

Are you getting the idea?

—SA
Your "free tool" is the .NET FCL. Resizing is actually "re-sampling", this is a rather elementary operation. Please see my past answers:
resize image in vb.net[^],
Read Big Tiff and JPEG files (>(23000 x 23000) pix) in a stream. And display part of it to the screen in realtime.[^].

—SA
 
Share this answer
 
You can check this

how-to-resize-size-image-without-losing.html[^]

and even check this google[^] result also..
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 26-Nov-13 3:08am    
"Without loosing" is the myth, coined a while ago... Not to be trusted. How could you take it seriously? Please see my answer and my comments to Solution 1.
—SA

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