Skip to content

Export image changes the original background image #92

Discussion options

You must be logged in to vote

I just ran into the same problem.

The problem arises because the background image is drawn on the canvas in the original size.

So, if the image is bigger than the canvas it will be cropped.

My solution was to resize the image to the same size as the canvas before passing it to the backgroundImage prop.

Replies: 2 comments 1 reply

Comment options

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

Answer selected by vinothpandian
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #86 on November 09, 2022 14:11.