Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send image with base64 #41

Open
mftlhn opened this issue Jun 20, 2023 · 0 comments
Open

send image with base64 #41

mftlhn opened this issue Jun 20, 2023 · 0 comments

Comments

@mftlhn
Copy link

mftlhn commented Jun 20, 2023

thanks for the great library. I have one issue that I can't send the image. I has try this https://github.com/kiwi-bop/flutter_signature_pad/blob/master/example/lib/main.dart#L98-L103 but in my server, I can't decode it. The way I decode it like this $image = base64_decode($data->assign_sa); but then I have error
InvalidArgumentException: Malformed UTF-8 characters, possibly incorrectly encoded in file /home/serc1112/public_html/api-sat/vendor/laravel/framework/src/Illuminate/Http/JsonResponse.php on line 91
am I wrong how to decode it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant