-
Notifications
You must be signed in to change notification settings - Fork 41
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
Image Printing Not Centered Properly #29
Comments
@abutizi can you show me code example how you used it to put and correctly print image data ? |
@michalwojtczak-vm-pl Yes, I first start by getting ImageData and then adding it to the txt for printing: `
` |
@michalwojtczak-vm-pl Do you know how to make the image bigger on the receipt? I mean how to scale it up by any chance? |
@abutizi I'm generating base64 in this way (there you can define size) return new Promise((resolve => {
|
@michalwojtczak-vm-pl I'm using this function:
|
that is a bug on the main library and not on this... |
Hello Awesome Community!
I just wanted to know if there were any one else who is experiencing this issue?
When I use
"[C]<img>IMAGE DATA</img>
the image is printed allright, but is not centered properly.It looks like the plugin takes the pivot from far left side and centers it instead of taking the pivot from the center of the image.
The image I am using is 350px, Square.
Anyone else experiencing this issue?
The text was updated successfully, but these errors were encountered: