How to resize images without a backend(blog.lemondev.xyz)
blog.lemondev.xyz
How to resize images without a backend
https://blog.lemondev.xyz/posts/how-to-resize-images-without-a-backend/
https://blog.lemondev.xyz/posts/how-to-resize-images-without-a-backend/
This was particularly useful when trying to cut down on costs(through not using APIs) by resizing images on the frontend since most browsers support this.
Also, it doesn't require a node package that could have vulnerabilities. Just pure and simple browsers APIs. It also supports png, jpeg, gif, avif, and webp(all image formats that are supported by a browser).
idk thought this was cool to share...