Asp.net jpeg size standardization

I show images from a SQL Server database for all employees. when these images are stored in a database, they were saved with different sizes. One of them is smaller, while the others are larger.

When I say size, I mean width and height.

When I display it on an aspx page, I want to display a size of 300X250

How can i do this? If I set the height and width of the image, the images will be distorted.

Please, help

+1
source share
4 answers

Take a look at ImageResizer.net. It has everything you need, including code samples for integrating SQL Server and scrolling with a saved aspect ratio:

http://imageresizing.net/

:

  • , , ,
  • , , ,
  • Jpeg.
  • GIF. .
  • GIF PNG
+2

300x250, , , , . .

+1

, ,

, /, , , , .

, , , , - :( . , , Google , .

+1
0

All Articles