borntoleave / catMini

This is the course repository for catMini.
51 stars 39 forks source link

Consider use optimized versions of images used as documentation on wikis and main repositories #4

Closed fititnt closed 6 years ago

fititnt commented 6 years ago

Some images from wiki, and commited to the repository does not appears to be optimized for sharing on web. If they are not intended to have some extra metadata (ex. a program who exports the PNG also hide a layer data inside the file) could be a good idea use some online service optimize the images.

My suggestion: use the website https://tinypng.com/ to convert the images and upload the optimized ones. This could be useful not only for documentation pages, but even for code repositories, since the non-optimized files could take much more storage than the code itself.

As comparative, see the improvement, who would be very welcome to users with poor internet (and also at some point could improve search engine rankings by not serving content not optimized for mobile pages):

captura de tela de 2018-04-15 23-25-06

borntoleave commented 6 years ago

Hi, I just tried your method and shrunk the folder from 27.5M to 6.3M. It was so convenient to use! Another idea: The images are used for the project wiki. It's possible to gitignore the Images/ folder for downloads.

If you are happy with the result then please close the issue. Thank you!