-
Notifications
You must be signed in to change notification settings - Fork 165
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
question on usage in layer #22
Comments
I've the same problem: everything is fine, resize and other functions works fine, but the drawText just don't work and doesn't raise any error/warning. |
Here's the solution: #6 |
The compiled build in #6 is not working for me (buffer is always empty). Any chance to get a precompiled and working layer zip with freetype? |
Solved! I was finally able tu build with freetype enabled. |
@anija - This one worked for me, thank you very much for sharing it, you saved me a ton of work |
@anija Any chance we can get a hand with this? Uploaded Archivio.zip as a new layer, linked the layer to our simple Lambda function, and now code that worked with imagemagick-aws-lambda-2 is no longer working – produces Here's our Lambda function with the extraneous bits removed, but this is the exact
Is there anything else we need to do to use / link this layer and its binaries properly? |
@anija I'm not following. The .zip that you posted appears to be HarfBuzz OpenType text engine. How does this work with imagemagick? |
I've added the layer using the link ServerlessPub link and clicked deploy which added a layer named image-magick
I then attached the layer to my lambda. In my lambda I have
const gm = require('gm').subClass({imageMagick: true});
Is that using the layer? For some reason I'm unable to see any words on my image using drawText
here is my code in full
The text was updated successfully, but these errors were encountered: