Nuget package to deal with images

Nuget package to deal with images

NuGet Package: ImageHelper404

With ImageHelper404 package, working with images is now faster, more efficient, and hassle-free. Whether you need to manipulate, transform, or analyze images, this package has got you covered.

Key features include:

  • Seamless image processing with intuitive methods.
  • Return results as base64, IFormFile and byte arrays, making it easy to integrate into your workflows without worrying about file paths.
  • Optimized for performance and ease of use in .NET Core.

This package was built with developers in mind—giving you the tools you need to handle image operations effortlessly. No more complex code, just clean, reliable, and reusable functions.

??? Key Methods:

  • await ImagesHelper.Resize(string imageUrl, int width, int height, string fileName, ImageFormat contentType = ImageFormat.Png): Resize image by providing width and height.
  • await ImagesHelper.ResizeByPercentage(string imageUrl, float percentage, string fileName, ImageFormat contentType = ImageFormat.Png): Resize image By Percentage.
  • await ImagesHelper.ChangeFormat(string imageUrl, string fileName, ImageFormat contentType = ImageFormat.Png): Converting Image contentTypes (JPEG, PNG, etc.)
  • await ImagesHelper.Crop(string imageUrl, int x, int y, int width, int height, string fileName, ImageFormat contentType = ImageFormat.Png): Crop image.
  • await ImagesHelper.Rotate(string imageUrl, float angle, string fileName, ImageFormat contentType = ImageFormat.Png): Rotate image.
  • await ImagesHelper.AddWatermark(string imageUrl, string watermarkText, string fileName, ImageFormat contentType = ImageFormat.Png, string FontName = "Arial", int FontSize = 24): Adding text Watermark.
  • await ImagesHelper.ConvertToGrayscale(string imageUrl, string fileName, ImageFormat contentType = ImageFormat.Png): Convert image To Grayscale.
  • await ImagesHelper.Flip(string imageUrl, FlipMode flipMode, string fileName, ImageFormat contentType = ImageFormat.Png): Flip images.
  • await ImagesHelper.Sharpen(string imageUrl, float amount, string fileName, ImageFormat contentType = ImageFormat.Png): Sharpen image.
  • await ImagesHelper.GenerateThumbnail(string imageUrl, int thumbnailSize, string fileName, ImageFormat contentType = ImageFormat.Png): Generate Thumbnail.
  • await ImagesHelper.GenerateQrCode(string text, int size, string fileName, ImageFormat contentType = ImageFormat.Png): Generate QR code.

Check it out on NuGet now: [link to package] ??


Looking forward to your feedback and suggestions as I continue to improve and expand its functionality. Let’s make image handling simpler together!

#dotnet #nuget #ImageHelper404 #csharp #developers #opensource #softwaredevelopment

hassan ali

Software Programmer at Self employed

5 个月

Awesome product

要查看或添加评论,请登录

Ali Shakkouf的更多文章

  • DbContext Management

    DbContext Management

    To manage multiple DbContexts dynamically, I implemented a factory-based approach. The interface allowed me to create…

  • Caching patterns and techniques

    Caching patterns and techniques

    Caching patterns are strategies used to optimize data retrieval and improve application performance by temporarily…

  • Nuget package to deal with currencies

    Nuget package to deal with currencies

    NuGet Package: CurrencyHelper This package offers a range of utilities for dealing with currencies, including symbol…

    3 条评论
  • Effortless Data Seeding in .NET 8 using Reflection!

    Effortless Data Seeding in .NET 8 using Reflection!

    I’ve been working on a project using ASP.NET Core and decided to handle data seeding with a more scalable and…

    5 条评论
  • What is Caching?

    What is Caching?

    At its core, caching is a technique used to store frequently accessed data in a temporary storage area (the cache) to…

    2 条评论
  • Elevating Data Integrity with Enhanced Auditing Solutions ??

    Elevating Data Integrity with Enhanced Auditing Solutions ??

    In the realm of data management, the ability to track and audit changes effectively is not just a best practice, it's…

    6 条评论
  • Unlocking the Power of Events and Delegates in C#

    Unlocking the Power of Events and Delegates in C#

    Hello again! I'm excited to return with a nice, clear example that will help you understand the power of events and…

  • Events and Delegates

    Events and Delegates

    Events Events are a mechanism for communication between objects. When something happens inside an object, it can notify…

  • Dapper

    Dapper

    Dapper is a micro-ORM (object-relational mapping) library for .NET and .

    2 条评论
  • Isolation levels and violations

    Isolation levels and violations

    In the realm of database transactions, isolation levels play a crucial role in ensuring the consistency and reliability…

社区洞察

其他会员也浏览了