Personal License


  • Perpetual license (does not expire)
  • 1 site, unlimited servers
  • No distribution (hosted use only)
  • Commercial use allowed
$4.99 Read License

14 Day money-back guarantee

Full refund within 14 days of purchase date.

You need to log-in or create an account
  • Create an account
  • Log-in

Please use your real name.

Activation link will be sent to this address.

Minimum 8 characters

Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

DotNet Transform Image

DotNet Transform Image
Developed by Matt Pass, Released Feb 21, 2011

Resize, scale, crop and flip image transforms are easy with DotNet Transform Image. Just pass through POST form values to this component and it will create your transformed image automatically.

C#

Tags: alter , asp , c# , contest2011

Transforming images is easy with the DotNet Transform Image component. You can scale, crop, rotate and flip your image in order to get it transformed to your requirements.

Because it's a chunk of code you can call on, it's great for multiple file processing, such as multiple image resizing, but also fine for single image processing too, perhaps upon user request to rotate the image, for instance.

Usage

Copy the dotnet-transform-image.aspx to your website root folder. Create 3 new folders in the root, titled display, originals and output. display is where you have a smaller version of your image to display to the user. originals is where you have your high quality original image which the output image will work from. output is where your image will be saved.

To use this component, just POST your form values to dotnet-transform-image.aspx as follows;

tImageWidth = The width of the image as an integer number only

tImageHeight = The height of the image as an integer number only

tImageCropStartX = The top left x-coordinate of the crop box area, integer number only

tImageCropStartY = The top left y-coordinate of the crop box area, integer number only

tImageCropEndX = The bottom right x-coordinate of the crop box area, integer number only

tImageCropEndY = The bottom right y-coordinate of the crop box area, integer number only

tImageRotate = The degrees to rotate as an integer - either 0, 90, 180 or 270

tImageFlipX = 1 to not flip on the x-axis, -1 to flip on the x-axis, integer number only

tImageFlipY = 1 to not flip on the y-axis, -1 to flip on the y-axis, integer number only

tImageName = The name of the image

These values when passed to the ASPX page will transform the image as you request. Easy!

Because this component works from a smaller screen display version plus a seperate high quality version, you have the speed of viewing the image quickly and the quality of a master version to use for transformation processing (which means you can choose to scale images upwards and get a high quality output image).

Documentation and demo example included with component.

User Reviews

No reviews have been submitted yet.

Questions & Comments


Or enter your name and Email
No comments have been posted yet.
You must be logged-in to vote. Log-in to your account or register now.