ccv-purejs icon indicating copy to clipboard operation
ccv-purejs copied to clipboard

"Pure-JS" verbiage is misleading

Open solumos opened this issue 7 years ago • 2 comments

The Canvas dependency relies on Cairo (C library) so it's misleading to say that this package is a "pure-js" implementation.

solumos avatar Jun 07 '17 20:06 solumos

Agreed, was super excited when I saw this hoping it could be used in AWS Lambda but it's not possible due to the Cairo dependency.

miketwalker avatar Jun 20 '17 17:06 miketwalker

@miketwalker I actually got it working on Lambda, but it's not very fun. You have to compile the dependencies on an EC2 instance using the same AMI that Lambda runs.

I was able to get it working with these notes + some trial and error. Basically, you need to build the *.so files on the AMI and package them with your Lambda build.

solumos avatar Jun 20 '17 20:06 solumos