Sign in
Log inSign up
Jeremy Morgan

17 likes

·

148 reads

6 comments

roshan khan
roshan khan
Aug 21, 2024

i can see various use cases for webapps, such as a chrome extension that can convert the image to webp and reduce the image size

1
·
·1 reply
Jeremy Morgan
Jeremy Morgan
Author
·Aug 27, 2024

I'm sure you could build some sort of lambda or other serverless function with OpenCV that could do this fairly easily.

·
John Williams
John Williams
Aug 22, 2024

Does image file compression affect different size images (or ratios) differently? For example, the difference in clarity between the small images and the large backgrounds on sites. And is AVIF any good?

·
·2 replies
William Marget
William Marget
Aug 25, 2024

Yes John Personally I face this issue when I compress image the pixels not clear.

·
Jeremy Morgan
Jeremy Morgan
Author
·Aug 27, 2024

yes, image file compression works different based on the image size (resolution). It works on a (somewhat) logarithmic scale. Meaning if you take a really low res image (320x240) and reduce the size by 20%, it will look like garbage. Maybe even unusable. If you reduce a 3840x2160 image by 20%, it may not even be noticeable.

In general the more pixels you have to work with, the more optimization you can do before the human eye notices it. In most cases.

·
Christopher Duran
Christopher Duran
Sep 10, 2024

Is impressive what we can do with OpenCV, time to go back to some project i did with Android Studio.

·