Giter Site home page Giter Site logo

ImageSharp.Web about imagesharp.web HOT 8 CLOSED

sixlabors avatar sixlabors commented on August 23, 2024
ImageSharp.Web

from imagesharp.web.

Comments (8)

JimBobSquarePants avatar JimBobSquarePants commented on August 23, 2024 4

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.

JimBobSquarePants avatar JimBobSquarePants commented on August 23, 2024 3

Q1 2018. Basically as soon as MS ship NetStandard 2.1 (We need to wait for final System.Memory release)

from imagesharp.web.

JimBobSquarePants avatar JimBobSquarePants commented on August 23, 2024 1

@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.

mudrz avatar mudrz commented on August 23, 2024

Great project, I was just wondering if you have any tentative timeline plans for the release?
1 month, 1 year?

from imagesharp.web.

psijkof avatar psijkof commented on August 23, 2024

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.

tmarman avatar tmarman commented on August 23, 2024

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.

tmarman avatar tmarman commented on August 23, 2024

@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.

JimBobSquarePants avatar JimBobSquarePants commented on August 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.