DEV Community

loading...

Discussion on: An Open Source and Completely Serverless Image Resizing Service in AWS

yomarkplacezim1 profile image
yomarkplacezimbabwe

yah it took me long to realize that a / was missing please du push the fix.

Thread Thread
horaceshmorace profile image
Horace Nelson Author

I fixed the bug. You'll just need to git pull and npm run update [env].

Thread Thread
yomarkplacezim1 profile image
yomarkplacezimbabwe

now its working like a charm. im just curious if its possible to control quality wen resizing. Im losing a great deal of quality for example if i resze an image from 800x800 to 200x200 the difference in quality is highly noticable.

Thread Thread
horaceshmorace profile image
Horace Nelson Author

There should be no loss of quality when sizing down. If anything, you'd gain quality. I'm curious... can you point me to an example?

Thread Thread
horaceshmorace profile image
Horace Nelson Author

Apparently, Sharp (the image processing library used) accepts some options for quality. I added the settings and pushed the changes. It looks like that solved the issue, so let me know if that helps.

Thread Thread
yomarkplacezim1 profile image
yomarkplacezimbabwe

Simply did the trick thank you so much for your effort much appreciated.