Closed danemadsen closed 3 months ago
I don't know anything about file_picker, but there hasn't been any issues with decoding PNG in this library that I'm aware of.
This was just related to allowCompression
in file_picker
. If allowCompression=true
(which it is by default) decodePng
and more broadly decodeImage
fails to decode the image and returns null. In any case, it wasn't this projects problem and the issue is now solved.
When used with the latest version of file_picker, decodePng and decodePngFile fail to decode the image on all platforms