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
Print local image #45
Comments
@rohitatcoffee please try to using this function : printImageBase64 |
Yes, I tried that one too. printImageBase64 only takes base64 data not local image URI. |
you can using this lib to capture -> covert to base64-> print |
I am doing the following things,
But still getting messed up data. |
maybe your base64 is wrong!
|
@thiendangit I am able to solve this issue, the issue was the width. I was passing images with the wrong dimensions. |
what is the best dimensions? |
if you are printing in a small printer use image width less than 200 or 300 @rohitatcoffee |
Is there any way to print local images? I tried converting the image to base64 but the printer is printing garbage data. But I passed image link then it get printed.
The text was updated successfully, but these errors were encountered: