Image.Net Thumbnail Utility
| Submitted On |
February 11, 2003 |
| Updated on |
July 25, 2007 |
| .NET Framework |
1.x |
| Cost |
$39.95 |
Description
This component gives you the ability to do more IMG manipulation in .NET with less code.
It works great with TNS Upload™ for uploading images and creating thumbnails at the same time.
Create thumbnails, get height and width and resize images from JPG or GIF images.
Also, you can rotate the image to any position you desire. Maintains original resolution after the resize of the image has been applied.
Syntax Example
Imports TNSImage
Sub ImageManipulation()
Dim lobjIMG As New clsImage()
'get a images size properties
lobjIMG.funImageSize(“C:\myimage.jpg”)
Response.Write(lobjIMG.ImageW)
Response.Write(lobjIMG.ImageH)
'create a thumbnail and rename the new image
lobjIMG.SubCreateThumb _(“C:\images\myimage.jpg”,”mynewimage.jpg”,100,100)
'rotate the image and rename it
lobjIMG.SubRotateFlip(“C:\images\myimage.jpg”,_
”RotateFlipType.Rotate90FlipX”,”C:\images\myimage_rotated90.jpg”)
End Sub
Reviews
Submit a review