Ok just tried it and everything works! thank you for helping. This is my first lambda function :D
@alimodz6253
3 жыл бұрын
Just one problem, I tried uploading this image i.imgur.com/5rLGpkC.jpg but it seems to be taking very long until timing out. I increase the timeout to 30sec but still taking longer. Any ideas?
@alimodz6253
3 жыл бұрын
ok I just increased Memory settings to 512MB and it worked. It used max 350MB.
@btgaston
5 ай бұрын
this is an amazing video. thank you!
@hitsistemas365
4 жыл бұрын
Great vid!! Thanks for the great tutorial!
@sur90gan
Жыл бұрын
Thank You !!! You saved my day !!!
@PongZungKMITL
2 жыл бұрын
Thank you so much, you save my life.
@RicoMinovo
3 жыл бұрын
Really Great Video! Worked perfectly although I had to compress the file manually into a zip. Thank you!
@ariffrahim6459
3 жыл бұрын
Omg thank you so much for the video!
@XavierLanglois
3 жыл бұрын
coool :D (I had to upload node sharp in node_modules because I did not know that lambda layer thing with imagemagick ready to use as layer T_T ^^'
@saisreekar7607
4 жыл бұрын
Great video.
@Bala-wp1dv
3 жыл бұрын
Please help. I used the same code provided in the github and followed the procedure but I face access denied at node_modules S3.js. I add permission to the role to have full access on S3
@LaurentDebacker
2 жыл бұрын
Any luck in getting it working?
@andrii5866
4 жыл бұрын
I'm going to do smth similar (creation thumb +watermark and saved on another folder in current bucket and it also should be triggered from the container). SUper unclear for now, wish me luck. Thanks for the tutorial.
@joefederer8863
2 жыл бұрын
How might one get typography support - given the referenced layer doesn't include it?
@joefederer8863
2 жыл бұрын
This doesn't seem to have all the features? For example, wrapping with GM .... drawText does not work.
@PhucNguyen-cd1nl
3 жыл бұрын
thank bro
@JiyongShinful
4 жыл бұрын
Thanks for the great video! Could you get me into the right direction when I wanna use the function of watermarking instead of resizing? Thanks!
@JiyongShinful
4 жыл бұрын
Sorry again, I found this function to be working to meet my requirement. However, I am not too sure how to convert this to Lambda function workable. Would you be kindly help me? Thank you so much in advance! convert Google_photo.png \ \( -size 500x -background none -fill white -gravity center \ label:"19239123bb-129381284-bb9b9b818283dfjadf" -trim -rotate -30 \ -bordercolor none -border 10 \ -write mpr:wm +delete \ +clone -fill mpr:wm -draw 'color 0,0 reset' \) \ -compose over -composite \ max_watermark.png
@JiyongShinful
4 жыл бұрын
Could you kindly provide me the right direction when I want to apply digital watermarks using gm libraries?
@BiteSizeAcademy
4 жыл бұрын
Please see this repo: github.com/navjotdhanawat/dynamic-watermark it uses gm to add a watermark. I've haven't tried it but it seems like what you're after, specifically this part: github.com/navjotdhanawat/dynamic-watermark/blob/master/index.js#L81-L83
@devendrasingh9982
4 жыл бұрын
Very Nice Article. Dear Author, May I know How clould I use same with Python
@BiteSizeAcademy
4 жыл бұрын
Try to follow the steps of adding the ImageMagick lambda layer and then use 'wand' (ImageMagick binding for Python), I think it should work. (Sorry, not familiar with Python).
@saisreekar7607
4 жыл бұрын
I am getting cannot find module ‘gm’
@BiteSizeAcademy
4 жыл бұрын
Make sure you have gm installed (3:13 npm install). You should have a node_modules folder in your lambda bundle with gm inside.
@saisreekar7607
4 жыл бұрын
BiteSize Academy then what’s the use of layer ? We can use node_modules only right…?
@BiteSizeAcademy
4 жыл бұрын
@@saisreekar7607 The layer is for installing ImageMagick. The gm module is for a more convenient javascript api to use ImageMagick from node. The gm library won't work if ImageMagick is not installed (see 7:51)
Пікірлер: 28