-
Notifications
You must be signed in to change notification settings - Fork 99
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
Image or Canvas expected when using in nodejs #53
Comments
I just run the following (your example + file from
This prints
on Mac OSX with node v0.12.7, canvas 1.2.7 and the trunk version of imagediff. Can you try rerunning with trunk + the above image to cross check? |
Thanks for quick response. Yes, trunk version works as expected both with your image and mine. So, what is the problem? I see that trunk uses "canvas": "~1.2.7". |
I actually just pushed the version bump. You can see all the changes since 1.0.8 here:v1.0.8...master |
I have the same issue. When reverting to imagediff v.1.0.6 it works fine though. |
Still getting this issue as well, fixed it with |
@cburgmer think it's safe to bump to |
I'm also wondering this. |
Hi!
I'm trying to get imagediff work in nodejs but with no luck.
My code is pretty simple and looks like https://github.com/HumbleSoftware/js-imagediff/blob/master/bin/imagediff
But i got an error:
I have found related issue #38 but it gave me no new info about the problem.
I'm using:
I have tried to run imagediff command line tool and it is working as expected. I also noticed that imagediff uses old version of "canvas" (1.1.6) and have tried to use it in my project but with no success (have the same error).
Thanks for any help.
The text was updated successfully, but these errors were encountered: