Brendan Duncan

Results 413 comments of Brendan Duncan

I suspect there is is something similar going on, but I don't know if it's num causing the performance hit with the AOT release build. num isn't used in the...

@mbenci Are you having trouble with this? I can't reproduce it.

Assuming AAR is similar to JAR, it's really a zip file and it's the specification of the files within the zip that define it as being AAR. That would make...

You mentioned before the camera image is in yuv420 colors, which isn't the same as bgra colors you're telling Image. Perhaps you can try converting the yuv420 colors, like in...

I can certainly help but I have very little experience with Flutter, so I can offer suggestions but I'm not set up to do any testing to see if any...

Seems to me you should be able to combine all those steps into a single step. This should work for yuv420 format CameraImage's. bgra8888 would be converted as described above....

You can try `final u1 = image.convert(format: Format.uint1);` prior to encoding it to BMP

You can always try making the image a grayscale, then quantize with dither to 2 colors: `final u1 = quantize(grayscale(image), numberOfColors: 2, dither: DitherKernel.floydSteinberg);`

I see where the offset discrepancy is coming from, I'll get it fixed.

It should be fixed in the github version now.