The `Accusoft.ImageGear.Core` package contains all the functionality needed to read and write raster images in a variety of formats, as well as algorithms to manipulate image metadata and image pixel values. ## Getting Started ## Converting between image formats with ImageGear is simple: ``` using System.IO; using ImageGear.Formats; using ImageGear.Core; ImGearCommonFormats.Initialize(); ImGearPage page; using (FileStream stream = File.OpenRead("input-image.png")) page = ImGearFileFormats.LoadPage(stream, 0); using (FileStream outputStream = File.OpenWrite("output-image.jpg")) ImGearFileFormats.SavePage(page, outputStream, ImGearSavingFormats.JPG); ``` For more examples of how to use ImageGear's API, check out our [sample code repository](https://github.com/Accusoft/imagegear-net-samples) on github. ## Supported Image Formats ## ImageGear.Core includes all the common formats users have come to expect, such as BMP, JPEG, TIFF, PNG, and SVG, as well as a range of other industry-standard formats. See the [File Formats Reference](https://help.accusoft.com/ImageGear/latest/webframe.html#file-formats-reference.html) page of our documentation for a complete list. ## Licensing ## While you are evaluating the product, ImageGear doesn't require any licensing setup. The SDK is ready to use as soon as the NuGet package is installed. Until a paid license is purchased, image output will be watermarked. Contact info@accusoft.com for more information. ## Documentation ## API documentation and how-to content for ImageGear can be found online [here](https://help.accusoft.com/ImageGear/latest/webframe.html).
$ dotnet add package Accusoft.ImageGear.CoreThe Accusoft.ImageGear.Core package contains all the functionality needed to read and write raster images in a variety of formats, as well as algorithms to manipulate image metadata and image pixel values.
Converting between image formats with ImageGear is simple:
using System.IO;
using ImageGear.Formats;
using ImageGear.Core;
ImGearCommonFormats.Initialize();
ImGearPage page;
using (FileStream stream = File.OpenRead("input-image.png"))
page = ImGearFileFormats.LoadPage(stream, 0);
using (FileStream outputStream = File.OpenWrite("output-image.jpg"))
ImGearFileFormats.SavePage(page, outputStream, ImGearSavingFormats.JPG);
For more examples of how to use ImageGear's API, check out our sample code repository on github.
ImageGear.Core includes all the common formats users have come to expect, such as BMP, JPEG, TIFF, PNG, and SVG, as well as a range of other industry-standard formats. See the File Formats Reference page of our documentation for a complete list.
While you are evaluating the product, ImageGear doesn't require any licensing setup. The SDK is ready to use as soon as the NuGet package is installed. Until a paid license is purchased, image output will be watermarked. Contact info@accusoft.com for more information.
API documentation and how-to content for ImageGear can be found online here.