HomeCommunityControl GalleryGraphics & MultimediaActiveXImage.Net Thumbnail Utility

Image.Net Thumbnail Utility



Submit a Review

2,829 Downloads

40,272 Views


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