Hacker News new | ask | show | jobs
by ramon 2453 days ago
Do image processing in the browser you would utilize the browser's and the user's resources not having to do backend processing, that's what photoshop does and what most of the image processors do, it's what you should be focusing on.
1 comments

This is not just image processing. Its also image size reduction using mordern formats like webp on the fly. So If the front end asks for a image which is stored as 1024x768 on s3 with a new size as 800x600 then the lambda service should convert the image to 800x600, reduce the image quality and send to frontend there by reducing the image file size. I have done this using backend code for ecommerce app. Where the product listing image sizes where reduced to like 30-50KB from 150KB. making the list images load pretty fast.