-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
"ArgumentOutOfRangeException: Specified argument was out of the range of valid values" when trying to quantize image from MemoryStream with transparent pixels. #1497
Comments
Update: similar exception thrown on "Desert.jpg" from standard Windows 7 "Sample pictures" folder, even if I load an image like that:
Exception stack trace:
|
After disabling "Just my code", I found exact source of exception:
|
I think this issue is the same as #1505. It was fixed with #1506. @VladiStep could you try our latest version of ImageSharp from the MyGet Feed and test if the issue is still there or fixed? |
Yes, that version is fixed it. |
@VladiStep Thanks for providing so much information to let us triage this issue. We really appreciate it! |
seems like the last image sharp version bump broke something SixLabors/ImageSharp#1497
Prerequisites
DEBUG
andRELEASE
modeDescription
When I trying to quantize image from MemoryStream (which filled from System.Drawing.Bitmap), this exception throws:
Steps to Reproduce
img.PixelFormat
isPixelFormat.Format32bppArgb
):One detail: I am using ImageSharp without
using SixLabors.ImageSharp;
, onlyusing SixLabors.ImageSharp.Processing;
System Configuration
The text was updated successfully, but these errors were encountered: