|
|
|
|
|
by DigitalSea
4655 days ago
|
|
It appears this script uses the Canvas element to determine the colour to make the overlaying text or element. It might be worth noting in the README that for images to work being loaded from a CDN like Amazon Cloudfront or Amazon S3 that the header access-control-allow-origin needs to be set to . So like-so: access-control-allow-origin: — otherwise your Canvas is tainted and you can't get the image data out of it due to security restrictions... |
|