You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble generating a png image correctly. The output png image is the correct size, but the figure is being cropped to 400x300 no matter what output size I request.
Here is my code. In this example, imageWidth is 479.
I'm having trouble generating a png image correctly. The output png image is the correct size, but the figure is being cropped to 400x300 no matter what output size I request.
Here is my code. In this example,
imageWidth
is 479.The first line of
svgString
is:The output image size is correct at 479x418, but only pixels in a 400x300 rectangle are drawn.
The output image should look like this:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: