-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Images Fail To Upload with TestClient #96
Comments
I'm including SkiaSharp native assets in TestClient on head. That should hopefully resolve your issue. What format is the image you are intending to upload? |
As I understand it there are two formats that pertain to JPEG2000, one ending in Interestingly, image downloads work without issue (!) which is frustrating because you'd think they'd just fail together if it were a library issue! |
Well, if it's a library issue, I'll get it figured out anyways as CoreJ2K is also my library. SkiaSharp has some unfortunate limitations with file formats, but it seems to be the de facto cross-platform imaging library these days. |
Thank you for your efforts: the OpenJPEG issue is a long-standing problem that nobody wanted to touch with a 10ft pole. I remember there were so many issues even within the JPEG2000 with either |
Using TestClient and trying to upload an image with
uploadimage
results in aNullReferenceException
error:Also, in the last part of
ExportBitmap
inManagedImage.cs
if you go the other way around and try to convert to aManagedImage
first and then useExportBitmap
, the following code inManagedImage.cs
also throws aNullReferenceException
:with
img
turning out to be null withSKImage.FromEncodedData
not managing to convert the image? Either way it seems that there is no way to upload an image.The text was updated successfully, but these errors were encountered: