Can ImageResizer be used in an MVC6 (MVC Core) application. We understand that ImageFlow can be (not yet released), but what can we do in the meantime. Many thanks
Resizing an Image can be done in a range of ways. The easiest method is to create a new Bitmap object from the in-memory image. When creating the Bitmap object, you assign the new dimension in the Size parameter. Finally, the resized Bitmap is written to a byte array.
Imageflow.NET Server is the .NET Core equivalent to ImageResizer, but is much faster and produces much smaller image files. See https://github.com/imazen/imageflow-dotnet-server
If you want to do your own middleware, use Imageflow.NET directly. See https://github.com/imazen/imageflow-dotnet
I know this question is old as my grandpa but:
You can use this library, this is in my Repo so I don't know should I recommend it or not, but its exactly what you need,
ImageFlow after all these years still in RC mode so I build it myself
https://github.com/keyone2693/ImageResizer.AspNetCore
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With