zachleat / idea-book

A public dump of ideas for side projects, for public upvoting/downvoting/commenting.
Creative Commons Attribution 4.0 International
24 stars 1 forks source link

Responsive Images Efficiency Analyzer #3

Closed zachleat closed 6 years ago

zachleat commented 7 years ago

Tests the efficiency of the bitmap images you have on your page at different screen resolutions.

Resize the page and then measure an image’s rendered dimensions versus the image’s natural dimensions, report retina rating (2x, 3x, .5x) and give some kind of efficiency score.

Maybe also report amount of wire-weight image savings between breakpoints.

Not sure if this would be a build tool or a bookmarklet (or both).

nhoizey commented 7 years ago

Looks a little like @yoavweiss' Sizer Soze: https://blog.yoav.ws/who_is_sizer_soze/

zachleat commented 7 years ago

Ah yes! I’d forgotten about this (I’m even listed on the contributors list there 😱), thanks @nhoizey!

Looks like it might be down though, I got this error when I tried it: https://github.com/ResponsiveImagesCG/Sizer-Soze-frontend/issues/51

nhoizey commented 7 years ago

You're welcome! ;-)

I hope it will be fixed.

zachleat commented 7 years ago

Closing, this is exactly what I wanted: https://chrome.google.com/webstore/detail/ncc-image-checker/fphiheficgnpphmjdliclanppccfgifl

zachleat commented 7 years ago

Hmm, I think I’m going to reopen this. It’s very close! I want to see a report across a bunch of different viewport sizes.

zachleat commented 7 years ago

https://github.com/nccgroup/image-checker/issues

nhoizey commented 7 years ago

Also, it doesn't seem to work very well: https://github.com/nccgroup/image-checker/issues/29

zachleat commented 7 years ago

You mean, not yet! Let’s contribute to this thing 🙂

nhoizey commented 7 years ago

Indeed! ;-)

simonhearne commented 7 years ago

Perhaps combining the image checker with something like Breakpoint Tester would provide a good solution?

zachleat commented 7 years ago

@simonhearne that’s a fantastic idea! Y’all should put that recommendation in the docs somewhere

zachleat commented 6 years ago

Just for posterity I’m going to include https://webspeedtest.cloudinary.com/ here as well, although it uses a fixed viewport size and DPI.

nhoizey commented 6 years ago

https://twitter.com/zachleat/status/974838687338041344

zachleat commented 6 years ago

Launched! https://github.com/filamentgroup/imaging-heap