Comments (8)
Absolutely. You need to implement an IImageProvider
and IImageResolver
then register both via dependency injection. We do plan to release an official plugin that does this for you.
from imagesharp.web.
Q1 2018. Basically as soon as MS ship NetStandard 2.1 (We need to wait for final System.Memory release)
from imagesharp.web.
@psijkof You need to add an explicit reference to the ImageSharp beta4 nuget package.
I want to get a release out which fixes your issue but there's beta 5 coming soon which I really should wait for.
from imagesharp.web.
Great project, I was just wondering if you have any tentative timeline plans for the release?
1 month, 1 year?
from imagesharp.web.
That's why I'm getting this?
fail: SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware[1]
The image 'https://localhost:44394/assets/img/catalogos/Bauen.jpg?width=300' could not be processed
System.MissingMethodException: Method not found: '!0 System.ReadOnlySpan`1.get_Item(Int32)'.
at SixLabors.ImageSharp.Formats.Bmp.BmpImageFormatDetector.IsSupportedFileFormat(ReadOnlySpan`1 header)
at SixLabors.ImageSharp.Formats.Bmp.BmpImageFormatDetector.DetectFormat(ReadOnlySpan`1 header)
at SixLabors.ImageSharp.Image.<>c__DisplayClass0_0.<InternalDetectFormat>b__0(IImageFormatDetector x)
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.TryGetLast[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at SixLabors.ImageSharp.Image.InternalDetectFormat(Stream stream, Configuration config)
at SixLabors.ImageSharp.Image.Decode[TPixel](Stream stream, Configuration config)
at SixLabors.ImageSharp.Image.WithSeekableStream[T](Stream stream, Func`2 action)
at SixLabors.ImageSharp.Image.Load[TPixel](Configuration config, Stream stream, IImageFormat& format)
at SixLabors.ImageSharp.Image.Load[TPixel](Configuration config, Byte[] data, IImageFormat& format)
at SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware.Invoke(HttpContext context)
from imagesharp.web.
I'm looking at using this to replace ImageResizer on aspnetcore. I have all of my images stored on Azure Blob Storage (a pattern I've also used on GCS or S3).
Is there any way for me to write something that ties into the pipeline to parse the path and load from this blob storage?
from imagesharp.web.
@JimBobSquarePants I saw #49 was merged into master, but I was struggling to find examples on how to set this up. Do you have any templates? (I couldn't get some of the stuff working from the tests project, but I think that was an issue with nightly builds and I haven't circled back on it yet).
from imagesharp.web.
@tmarman Please accept my apologies. I didn't see this. There's example code for configuring the provider in the unit tests. I shall be writing additional documentation over the next few days.
from imagesharp.web.
Related Issues (20)
- DirectoryNotFoundException: ... \wwwroot\ for Azure blob storage provider HOT 4
- How to prevent rotation based on Exif Orientation HOT 1
- WebP images don't auto orient based on EXIF metadata HOT 16
- AWS S3 Transfert Acceleration HOT 1
- v1.0.5 unsupported format prevents all processing HOT 2
- Add Custom Parameter to the request url for caching HOT 2
- 2.0.0 Breaks on filenames with special characters HOT 2
- Middleware is very susceptible to unreasonable processing commands HOT 1
- ImageSharp Web does not appear to handle rotation during format change to WEBP HOT 4
- Unable to access SixLabors.ImageSharp.Web.Caching.Azure namespace HOT 2
- Link to license in GitHub README returns 404
- OnBeforeSaveAsync called only when there are available Commands which is not correct in some scenarios
- Azure middleware trows an exception in 3.0+ version HOT 16
- Image caching does not differentiate between different query strings HOT 1
- Confusing 500 error with width (or height) querystring - Umbraco thumbnails HOT 2
- Major CPU performance decrease with ImageSharp.Web 3 HOT 20
- "Sending image. Request uri" log Should be debug not information HOT 2
- Formatting an image to webp is losing some of the transparency in the image
- Open Snyk Issue with high severity for several months HOT 2
- WebP encoding not honouring the Exif orientation data? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagesharp.web.