taniarascia / new-moon

🌙 ‎ The optimized dark theme for web development.
https://taniarascia.github.io/new-moon
MIT License
1.22k stars 91 forks source link

Compress images #17

Closed XhmikosR closed 5 years ago

XhmikosR commented 5 years ago

I kept this as 2 patches in case the lossy compression introduces any issues. If it does, I will rebase and skip this patch. But AFAICT, it looks good here.

The gain is pretty big even with lossless compression :) Please check the individual commits for the size differences.

BTW ideally, the huge images should be progressive JPEG, but I thought that we should do this one step at a time.

EDIT: Oh, also the /images/ folder has some images that the docs/samples/ folder has. Might be better to reduce the duplicate files, and remove any unused images too.

taniarascia commented 5 years ago

Agreed, I need to clean up the images folder and make a clear distinction between editor screenshot files and the small example files, and reduce the size of the massive screenshots. Can you tell I made this website at 4am on a whim?

XhmikosR commented 5 years ago

All good, not a big deal.

Check this out:

2019-03-07_09-35-30

So, I'd say we are already pretty good. :)