3 ms·
How to resize images without a backend
- zestprod 3y agoI recently figured out a way 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...