Answer the question
In order to leave comments, you need to log in
How to load a texture so that the final canvas is 1 in 1 with the texture?
How to load a texture so that the final canvas is 1 in 1 with the texture
If you zoom in on the resulting image, you can see a green / yellow stroke around the texture
The original texture is in image.src
Source code: https://jsfiddle.net/mu1bwa4c/1/
Original:
final image
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question