Brendan Duncan
Brendan Duncan
Reverting to image < 4.2.0 should work because there is no ImageFormat enum before then. So it must be a cache ghost haunting you.
I'm surprised issues like this don't come up more often. It's not like I was super creative with my naming "Image". To be fare, I wrote this over 10 years...
I would think it's a pub cache thing rather than a gradle thing, but I have very minimal knowledge of gradle, or flutter. `$HOME/. pub-cache` (on macOS and Linux), or...
Or maybe change your pubspec to use a specific version of image. I only know enough about pub to be dangerous.
The easiest fix would be to fix crop_your_image. I'll file an issue over there, https://github.com/chooyan-eng/crop_your_image/issues/157. Hopefully they can put out a quick fix by namespacing the image import in their...
I'm glad he got a fix out, and I'm sorry you're having so many troubles. Package management is a dark art, I don't think anyone's really gotten it figured out....
Probably a 16-bit image. You can convert it to an 8-bit image first. Image u8 = image.convert(format: Format.uint8);
Yeah sorry the 4.0 release is taking so long, I should really just push that out. There was a performance regression I wanted to sort out, but haven't had much...