Info
Version: | 26.5.0 |
Author(s): | Accusoft |
Last Update: | Wednesday, October 2, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://accusoft.com/ |
NuGet Url: | https://www.nuget.org/packages/Accusoft.ImageGear.Core |
Install
Install-Package Accusoft.ImageGear.Core
dotnet add package Accusoft.ImageGear.Core
paket add Accusoft.ImageGear.Core
Accusoft.ImageGear.Core Download (Unzip the "nupkg" after downloading)
Dependencies
19 packages depend on this package.
## 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 [email protected] 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).