-1

i am converting the image into thumbnail format and sending it to server and i want to convert it back to original size while receiving can any one please tell me how to resize the image to original without loosing quality.....

i tried directly to displaying the image in image view but the quality of the image is missing ... can any one please help me how to maintain the quality of the image .......

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
user564963
  • 2,284
  • 5
  • 24
  • 33
  • 2
    -1, you will have serious difficulties with programming, if you haven't heard of pixels before. If you have heard, then you will have even more difficulties. – ern0 Apr 14 '11 at 10:24

4 Answers4

2

Downscaling is irreversible, some information lost forever.

ern0
  • 3,074
  • 25
  • 40
1

you simply can not convert an image from thumbnail to original size and retain the quality it had in its original size.

if you want to display the image full-size, you have to send the full-size image.

Timothy Groote
  • 8,614
  • 26
  • 52
1

What you're asking isn't possible. You can't enlarge an image while maintaining the same quality. If you think about an image as a mapped array of pixels (literally, a "bit-map"), this makes sense. The image is saved with a fixed amount of data, and that's all you have to work with when you resize it. Any examples to the contrary (like TV shows) are purely fictional.

Investigate using vector graphics instead, which can be resized at will without a loss of quality.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
0

You could think about using a Vector image? They do not lose quality when resized. But I have no clue whether you can use them for thumbnails in iOS.

See this wiki page for more info about Vector graphics.

Jurgen
  • 411
  • 10
  • 22