Reputation: 12374
What are some good methods to resize images hosted in Azure Blob Storage?
I can think of two basic approaches:
When the image is uploaded, generate the resized versions, you need.
Intercept requests for resized images and process them on the fly - potentially cache the result, so you don't have to resize every time.
I find method two to be the most elegant, because you do not have to know ahead of time, which sizes you need - or set up some kind of background resizing process.
I find that the methods used by ImageResizing.net are pretty awesome, and have used them in the past, but their recent license changes makes it an nonviable option for many kinds of project, where 250-8000USD on just image resizing is not in the budget.
Are there any alternatives to ImageResizing.Net in the option 2 category - or any other projects in the first category, that are worth checking out, so you don't have to start from scratch?
Upvotes: 3
Views: 7033
Reputation: 18465
Please try to follow Thomas’s reply in this thread to see whether it could be able to achieve your requirement. I searched the web and found an alternative approach called Simple.ImageResizer which could be used to replace the ImageResizing.NET. With a package called "Simple.ImageResizer.MvcExtensions", you could add a dynamic image resizing into your ASP.NET MVC Site. I tested it on my side and found it works well, please try to refer to the link above and find out whether it could meet your requirement.
Upvotes: 1