imageresizer

Compilation errors with ImageResizer 3.2.1

自作多情 提交于 2019-11-30 08:50:17
问题 After allowing Nuget to update ImageResizer 3.1.5 to version 3.2.1 my compiles are failing with multiple errors (all same type): Error 5 Missing compiler required member 'System.Runtime.CompilerServices.ExtensionAttribute..ctor' Apparently this is the result of an assembly version mismatch. Deleting all ImageResizer references in the project allows an error-free compile. Reverting to ImageResizer 3.1.5 also allows a successful compilation. My project is a simple MVC3 application targeting

Azure Function - Resize image stored in a blob container

拈花ヽ惹草 提交于 2019-11-28 12:43:17
I've answered this question related to Azure Webjob and Resizing a image stored as a blob and so I am trying to do the same using a Function App Each time a new blob is uploaded, I send a a new queue message. My function is triggered by the queue message and bind to the uploaded blob. I also have a second input binding that binds to another CloudBlobContainer to be able to upload new resized images to another blob container. My function looks like that: #r "System.Web" using System.IO; using System.Web; using ImageResizer; using Microsoft.Azure.WebJobs; using Microsoft.WindowsAzure; using

Png compression and image resizing

非 Y 不嫁゛ 提交于 2019-11-28 09:23:42
问题 Is there a way / plugin to help the image resizer with png compression? I have a png image that I use in navigation and would like to keep it as small as possible. The original image has width 200px and size 38kb. I need to resize it down to 150px. Once I do so using the image resizer the size goes up to 150kb. Originally the image was compressed using http://tinypng.org/ 回答1: Yes, the PrettyGifs plugin offers excellent octree quantization for both PNG and GIF images. Use &colors=256 ,

Only basic parameters are honoured in ImageResizer console app

夙愿已清 提交于 2019-11-27 08:30:24
问题 I am using ImageBuilder.Current.Build(imageStream, new ResizeSettings("width=100&height=200&crop=auto&s.grayscale=true")) in a console application, but only width and height attributes are applied, the s.grayscale parameter is ignored. I have installed the SimpleFilters plugin from nuget, and I have added it in the plugin section in app.config. Any idea what I could be missing? 回答1: .NET 4.0 doesn't load .dlls unless there is a static code reference. Use the code installation method during