Brendan Duncan
Brendan Duncan
Sounds good. This old library has a bunch of dynamics.
I'm not sure why you would be getting all zeros. The PNG unit tests are working. Is it a particular image that's failing?
The png loads fine when I just tested it. I'm having a hard time thinking what a Flutter update might be doing to zero out the image bytes. Do all...
The library should definitely take a Uint8List. List is just the abstract base class. It seems to be decoding the PNG ok; the resolution is set, it's not crashing. But...
It probably doesn't matter because the numbers will be the same, but you should use a Uint8List and not a Int64List for bytesList. In the very least, it will use...
I wrote this library a *long* time ago, 2013 or so, when I was using Dart for some web projects. Dart is still a great language, but I don't use...
If you can send me an example image file that doesn't work, I can get it to work. The ICC profile or the EXIF data should impact the PNG pixels...
I got a chance to look into this, but both images stored on google photos are stored as JPEG, and I didn't have a problem loading either. I assume these...
I can take a look at http.get in a bit, but that would be where the problem is. The bytes either haven't completed downloading, have an error, or are not...
The multiple pages are decoded, and as you said, the "animation" class is the only data type that can support these multiple images decoded together. If you want to decode...