Skip to content
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

Nodejs exits with code=null when doing two drawImage or fillText operations #371

Closed
nvd-ai opened this issue Dec 31, 2013 · 1 comment
Closed

Comments

@nvd-ai
Copy link

nvd-ai commented Dec 31, 2013

Here is the problem: I need to resize multiple images for which I have to resize the canvas according to a given size. Right after resizing the canvas, the call to drawImage or fillText causes nodejs to exit with code=null.

I have tried to create multiple canvases and contexts, one for each image resize, and again nodejs breaks.

I also have tried changing the width and height of canvas by doing canvas.width=w, canvas.height=h, and the same thing happens.

The common thing in all the cases is that the first call to fillText/drawImage works just fine, but nodejs exits right on the second call to fillText/drawImage.

The OS is MacOSX Mavericks.

@LinusU
Copy link
Collaborator

LinusU commented Aug 10, 2015

I can't reproduce this. Please test with the latest version and reopen if problem persists 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants