Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Image.Load #178

Closed
3 of 4 tasks
KANekT opened this issue Apr 17, 2017 · 6 comments
Closed
3 of 4 tasks

Error with Image.Load #178

KANekT opened this issue Apr 17, 2017 · 6 comments

Comments

@KANekT
Copy link

KANekT commented Apr 17, 2017

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have searched open and closed issues to ensure it has not already been reported
  • I have verified if the problem exist in both DEBUG and RELEASE mode

Description

Steps to Reproduce

var image = Image.Load(file.OpenReadStream());

I have error Too many coefficients 64 > 63 for file/link

at ImageSharp.Formats.Jpg.JpegScanDecoder.Refine(InputProcessor& bp, HuffmanTree& h, Int32 delta) at ImageSharp.Formats.Jpg.JpegScanDecoder.DecodeBlock(JpegDecoderCore decoder, Int32 scanIndex) at ImageSharp.Formats.Jpg.JpegScanDecoder.DecodeBlocks(JpegDecoderCore decoder) at ImageSharp.Formats.JpegDecoderCore.ProcessStartOfScan(Int32 remaining) at ImageSharp.Formats.JpegDecoderCore.ProcessStream(ImageMetaData metadata, Stream stream, Boolean metadataOnly) at ImageSharp.Formats.JpegDecoderCore.Decode[TColor](Stream stream) at ImageSharp.Formats.JpegDecoder.Decode[TColor](Configuration configuration, Stream stream, IDecoderOptions options) at ImageSharp.Image.Decode[TColor](Stream stream, IDecoderOptions options, Configuration config) at ImageSharp.Image.Load[TColor](Configuration config, Stream stream, IDecoderOptions options) at ImageSharp.Image.Load(Stream stream) at Biggab.Game.Education.Backend.ViewModels.Words.CreateOrEditViewModelFactory.<SaveFile>d__5.MoveNext() in C:\Projects\BiggabSocial\src\Biggab.Game.Education.Backend\Areas\Backend\ViewModels\Words\CreateOrEditViewModelFactory.cs:line 99

System Configuration

  • ImageSharp version: 1.0.0-alpha9-00025
  • Other ImageSharp packages and versions:
  • Environment (Operating system, version and so on): Windows 10 VS 2015
  • .NET Framework version: 1.2
  • Additional information:
@tocsoft
Copy link
Member

tocsoft commented Apr 17, 2017

Look like it's an image specific issue, Please provide a copy of the image that causes this issue.

@antonfirsov
Copy link
Member

@tocsoft he has a link in the issue description :)

@tocsoft
Copy link
Member

tocsoft commented Apr 17, 2017

My bad, failed to spot the link.

@jonatan280792
Copy link

Me sucede
bmw-m3-m3-f80-lujo-D_NQ_NP_948620-MCO31407881656_072019-F
el mismo error adjunto imagen

@antonfirsov
Copy link
Member

@jonatan280792 if you feel you found a bug in the CURRENT ImageSharp version, please open a new issue with the issue template filled + image attached, we can't address feedback coming from comments on old issues.

Si el idioma es un problema, use el traductor de Google como lo hago ahora :)

@JimBobSquarePants
Copy link
Member

That linked image is a png.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants