What is ImageSense?
ImageSense is a .NET Managed Library making it easy to manipulate graphics within your application. With ImageSense you can easily create high-quality thumbnails, crop, rotate, convert, apply color filters, convert formats (BMP, PNG, JPG, GIF) and much more. ImageSense is optimized for both 32-bit and 64-bit platforms and provides a simple, easy, and fast solution to manipulating images.
Be sure to visit the Documentation to learn more and check out the Examples as well!
Examples & Sample ImageSense Code
Please review the samples provided to see some of the capability that is available with ImageSense.
Color Filter: GrayScale Conversion
FilterChain filters = new FilterChain().Grayscale();
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Color Filter: Sepia Conversion
FilterChain filters = new FilterChain().Sepia();
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Flip over the vertical (or horizontal) axis
FilterChain filters = new FilterChain().Flip(FlipType.Vertical);
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Flip over both the vertical and horizontal axes
FilterChain filters = new FilterChain().Flip(FlipType.Both);
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Resize: Resize as small as you'd like or go bigger.
FilterChain filters = new FilterChain().Resize(90, 90);
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Crop
You can crop from any custom rectangle and coordinates you provide, or use easy helper functions to take care of it for you.
Crop 50px from the right and bottom of the image:
FilterChain filters = new FilterChain().Crop(CropFrom.Bottom | CropFrom.Right, 50);
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Rotate while maintaining dimensions and fill with white
FilterChain filters = new FilterChain().Rotate(75, true, Color.White);
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Rotate without maintaining dimensions and fill new space with white
FilterChain filters = new FilterChain().Rotate(75, false, Color.White);
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Rotate while maintaining dimensions and set the empty space to be transparent
FilterChain filters = new FilterChain().Rotate(75, true);
using (Image originalImage = Image.FromFile("filename"))
{
Image newImage = filters.Apply(originalImage);
}


Why ImageSense
-
.NET Managed Library
ImageSense is a .NET Managed Library so there is no server side install required. Simply add to your project and get started. Written in .NET - it's built for .NET.
-
Simple, Easy, Fast!
Easy to use, efficient and fast! ImageSense makes resizing and working with graphics in .NET simple, easy, and fast!
-
32-bit and 64-bit support!
ImageSense works on both x86 and x64 architectures with the standard dll. Version specific dll's are provided for those seeking even more performance.