Closed SebastienBtr closed 4 years ago
I was using a genymotion emulator when this issue appeared (I still don't really know why), with a real Android studio emulator (and so on a real device I guess) this is working as expected. I'm closing the issue as it seems to work on proper devices.
When calling the
toPngBytes
method, an exception is thrown:Unhandled Exception: Exception: operation failed
This exception occurs at line 189 of signature.dart:
picture.toImage( (maxX - minX + penStrokeWidth * 2).toInt(), (maxY - minY + penStrokeWidth * 2).toInt());