Create Thumbnail in Visual C#.NET

Guide for Creating Thumbnail Using Visual C# Class
Our C# Thumbnail Creation SDK supports creating thumbnails in Visual C#.NET image program easily. It also supports other image processing in Visual C# application. For more information on C# thumbnail generation, please carefully view detailed guide below. If you are using Visual Basic, check out this VB.NET Guide for Image Thumbnail Creation.
Thumbnails are smaller copies of original images, designed to assist in recognizing and organizing pictures. It serves as a normal content index for images. Thumbnails are applied to most modern operating systems, such as Windows 7, Windows Vista and Windows XP, etc.
Thumbnails are ideally implemented on web page for the purpose of reducing bandwidth and download time. For some web designers, they make thumbnails with HTML or client-side scripting so that the user's browser will shrink the picture, rather than use a smaller copy of the image. A smaller thumbnail allows displaying a significant part of the picture instead of the full frame while maintaining recognizability.
.NET Environments for C# Thumbnail Creation
Before using our C# Thumbnail Creation SDK for thumbnail creation, users may make certain that the following .NET requirements are met.
  • First of all, please make sure that our supported operating systems (Windows 2000, Windows XP, Windows Vista, Windows 7 and Windows Server 2000 / 2003 / 2008) are installed.
  • Then, make sure that .NET Framework 2.0, 3.0, 3.5 or 4.0 is installed.
  • Finally, make sure that you have installed Visual Studio 2005 and later versions.
Example of Creating Thumbnail in C#.NET
Yiigo provides an easy solution for thumbnail creation in Visual C#.NET. With our powerful C# Thumbnail Creation SDK, you can generate thumbnails without other API support. It is generally a time-saving decision by referring to the following steps in detail.
Please pay attention that you are able to use our C# Thumbnail Creation SDK only after you have activated the .NET Image SDK.
  • Step 1: You may open your Visual Studio; no matter it is Visual Studio 2005, 2008 or 2010.
  • Step 2: You need to create a standard Visual C#.NET project.
  • Step 3: You can copy created txt file after activation to the new C#.NET project folder.
  • Step 4: You should add Yiigo.Imaging.Net.dll library to the newly created project reference.
  • Step5: The following C# sample code can be used to create thumbnails.
     using System.IO;
using System.Drawing.Printing;
using Yiigo.Imaging;
using Yiigo.Imaging.Processing;
using Yiigo.Imaging.Thumbnail;

public int CreateThumbnail(int ImageID, int Width, int Height);
public int CreateThumbnail(int ImageID, int Width, int Height, Color BackColor);
Optimize Thumbnail in C#.NET
After generating thumbnail in C#.NET, you are also able to adjust the properties associated with the thumbnail.
As different applications have different demands on size of the thumbnail, you can reset the size of created thumbnails to an optimal extent in C#.NET by changing its width and height.
Except for high-quality thumbnail creation in C#.NET, our product also supports setting thumbnail background color. We offer different background colors for you to choose.
Other Image Processing in C#.NET
Resize image in C#.NET - Developers are allowed to adjust image size to meet different requirements with Resize Function of Yiigo.Image for .NET. There are various sizing options provided to control documents and images in different formats.
Rotate image in C#.NET - It is able to rotate an image to 90 degrees, 180 degrees and 270 degrees. A detailed guide for rotating images using our product with complete C# sample code is provided online to help developers.
Crop image in C#.NET - If you want to crop a certain area of an image in C#.NET, our image cropping component is a good choice. It is easy to use and you can crop any part as you want.
Create watermark C#.NET - Our Document Image product has watermark creation functions that allow developers to create watermarks in C#.NET with ease and the created watermarks can be used to any images & documents.
Imaging Solution
Yiigo.Image for .NET
Online C# Tutorial
C#: Yiigo.Image for .NETC#: How to StartC#: Doc Management SolutionC#: Web Doc ViewerC#: How to Deploy SDK
Doc & Image Formats
C#: PDFC#: TIFFC#: WordC#: DICOM
Advanced Functions
C#: Programming with Image SDKC#: Process ImageC#: Resize ImageC#: Crop ImageC#: Rotate ImageC#: Scale ImageC#: Flip Image
C#: Create Thumbnail
C#: Create WatermarkC#: Annotate ImageC#: Callout AnnotationC#: Ellipse AnnotationC#: Freehand AnnotationC#: Hotspot AnnotationC#: Line AnnotationC#: Polygon AnnotationC#: Rectangle AnnotationC#: Rubber Stamp AnnotationC#: Text AnnotationC#: Convert ImageC#: Image to Byte ArrayC#: Image to StreamC#: Word to ImageC#: PDF to ImageC#: Draw on ImageC#: Draw Text on ImageC#: Draw Graphics on ImageC#: Barcode ReadingC#: Barcode GeneratingC#: Twain ScanningC#: OCR Recognition