Skip to content

Image shows different width on different platforms #867

Answered by KJ-Chiu
KJ-Chiu asked this question in Q&A
Discussion options

You must be logged in to vote

After several hours debugging I found the error came from another npm package - html-to-image.
Different size of screen get different blob result though they look same when download it.

I turn to ask server side render specific width and height image instead of doing this at frontend then everything goes right.

except google docs but never mind

Still, thanks for helping.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dolanmiu
Comment options

Answer selected by KJ-Chiu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants