📜  imageresizer (1)

📅  最后修改于: 2023-12-03 14:42:04.751000             🧑  作者: Mango

Imageresizer

Imageresizer is an open-source image resizing library for .NET. It allows you to resize, crop, and enhance images with ease.

Features
  • Image resizing and cropping
  • Image rotation and flipping
  • Sharpening and blurring
  • Watermarking and text overlay
  • Compression and optimization
  • Support for many image formats, including JPEG, PNG, BMP, and GIF
Getting Started

To use Imageresizer in your .NET project, you can install it via the NuGet package manager:

Install-Package ImageResizer

Once installed, you can use the library in your code like this:

var image = new ImageJob("path/to/image.jpg", "path/to/output.jpg", new Instructions("width=200&height=200&format=jpg"));
image.Build();

This code loads an image from a file, resizes it to 200x200 pixels, converts it to JPEG format, and saves the result to a new file.

Documentation and Support

The official documentation for Imageresizer is available on the project's website. You can also find support on the GitHub repository.

Contributions and License

Imageresizer is licensed under the MIT License. Contributions to the project are welcome, and can be submitted via pull requests on GitHub.