Closed thecfguy closed 4 years ago
adding freetype is a bit more complicated because of its dependencies. check out how to build freetype in this project https://github.com/serverlesspub/rsvg-convert-aws-lambda-binary - you'll need to include the dependencies from that buildfile, and the fonts you want to use, into the layer
"you'll need to include the dependencies from that buildfile, and the fonts you want to use, into the layer"
Any chance of expanding on this?
Add what dependencies? What buildfile? (ie: do we need to go through the manual build process for this layer, or are you refering to steps after the existing layer has been deployed?) How do we add them? Into what layer?
Is there any example of this anywhere? (or any other example where a lambda is used to put a text based watermark on an image? All the online tutorials that explain how to do it refer to the imagemagick-aws-lambda-2 layer, which, as the author, you know doesn't have that capability.
Hi First of thanks for your great work and make it opensource. I am looking to add freetype support so magick command can use to add watermark or datestamp on image.
Probably below block may add this (I haven't tested it)