EP-u-NW / painter

A simple flutter widget to paint with your fingers
https://pub.dev/packages/painter
Other
137 stars 66 forks source link

Don't get the full image (PNG) on mobile #39

Closed Juanitocancino closed 3 years ago

Juanitocancino commented 3 years ago

When i run the app on Web (Chrome) works like a charm (i make a signature, goes to the next step and at the end i made a base64 String with the data of the PNG (.toPNG()), but when i change to mobile the image don't render correctly (only do like 24 pixels of height) it does all the width (like 323 pixels).

Container with a button to generate the PNG and storage in a variable. image

Button to print the base64 string image

And this is the only result when i run the app in a mobile device (It's missing a lot of lines) image

How it looks (the image have the correct dimensions but the content is missing): image

Juanitocancino commented 3 years ago

I'm going to close this thread, it was a limiter in my debugger inside my Android Studio, when i send the string to a "rest_api", the string was completed and with all the data.

Sorry for the troubles.