Imagesharp: unable to process .jxr, .webP, .jpg extension images in SixLabours Version 1.0.0-beta0007 in .NET Core

Created on 30 Jan 2020  路  9Comments  路  Source: SixLabors/ImageSharp

Unable to process .jxr, .webP, .jpg images using SixLabors.ImageSharp pulgin - Version 1.0.0-beta0007. It throws error. Is there any solution to fix the issue beside GIF,PNG,JPEG,BMP format images.

Error Message :

Image cannot be loaded. Available decoders:

GIF : GifDecoder
PNG : PngDecoder
JPEG : JpegDecoder
BMP : BmpDecoder

All 9 comments

@jayrajmishra you mentioned 3 different formats/file extensions:

  • .jpg is another extension for the JPEG format, we have a feature complete decoder which should work. Do you have trouble opening a specific jpeg file? If you can provide a working repro, free to open another issue with image+repro code provided & template filled in. If you have questions, we can help in our gitter channel.
  • .webP: we already have an open issue for that, work is in progress: #121
  • .jxr: this looks like a feature request ---> should be discussed in gitter before opening an issue (see contribution guide). The reason is that we need more information from users to understand and prioritize it (specific use case, how critical it is etc.)

I am unable to get the proper solution of this issue from stack over flow, unable to process the .jpg image.

You need to provide the image. It's impossible for us to help you without it.

This two images are not been processed with SixLabours pulgin in .NET Core
.jpg Image - https://www.dropbox.com/s/2218dray4uwwm2r/Image1.jpg?raw=1
.jxr Image - https://www.dropbox.com/s/0p60vqz1sox0gms/Image2.jxr?raw=1

This Issue is Closed, Re-Open this Issue and fix this one, it will be great!!

@jayrajmishra

I was able to open the .jpg image without issue with the 1.0.0-beta0007

Here is your image, loaded and altered to have it's edges detected by our edge detection method.

1101

So if you are having issues, they are occurring, elsewhere in your codebase and have nothing to do with the library. As long as you provide the jpeg data intact then we can decode it.

As mentioned before and described by the error message. .jxr images are not a supported format. You will need to discuss the feature request in our Gitter channel.

.jxr: this looks like a feature request ---> should be discussed in gitter before opening an issue (see contribution guide). The reason is that we need more information from users to understand and prioritize it (specific use case, how critical it is etc.)

Please be aware that it is absolutely critical that you follow our rules when raising issues and use the provided templates.

As I have demonstrated there is the library can open your image I am keeping this issue closed.

Ok, Is the Feature has been developed for .jxr, .webP file Image. @JimBobSquarePants

.webP file is not been process in SixLabours

URL : https://www.dropbox.com/s/3ui7hxdrczcjw5i/4-color-2.webp?raw=1

Error Message: Image cannot be loaded. Available decoders:

  • BMP : BmpDecoder
  • JPEG : JpegDecoder
  • GIF : GifDecoder
  • PNG : PngDecoder

at SixLabors.ImageSharp.Image.Load(Configuration config, Stream stream, IImageFormat& format)

Now does SixLabors support .jxr file?

@jayrajmishra Can you please stop spamming this issue tracker. We have told you on several occasion that those formats are not supported and instructed you to either raise new issue or follow existing ones. If you continue to spam closed issues you will be banned.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xakep139 picture xakep139  路  3Comments

devedse picture devedse  路  3Comments

jarroda picture jarroda  路  3Comments

Inumedia picture Inumedia  路  3Comments

olivif picture olivif  路  3Comments