Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress images using TinyPNG #2

Closed
ushuz opened this issue Dec 24, 2015 · 3 comments
Closed

Compress images using TinyPNG #2

ushuz opened this issue Dec 24, 2015 · 3 comments
Assignees

Comments

@ushuz
Copy link
Contributor

ushuz commented Dec 24, 2015

image

For example, 400.jpeg could be compressed from 120kb to about 50kb, nearly 60% smaller, without noticeable quality loss. It could save some bandwidth both for https://http.cat and for people who reference those cute cat images.

Take a look at: https://tinypng.com/ , they are good at compressing images, and have an API for that. Their API is free for the first 500 images in a month, it's quite enough for https://http.cat I think.

If you are interested, I can open a pull request.

@rogeriopvl rogeriopvl self-assigned this Dec 25, 2015
@rogeriopvl
Copy link
Member

Thanks @ushuz. If you wish you can open a PR. But the API suggestion won't work, http.cat serves around 1 Million images a month, and also does not have any kind of "back-end" except for Nginx.

@ushuz
Copy link
Contributor Author

ushuz commented Dec 26, 2015

@rogeriopvl Sorry, my mention about API is a little bit misleading. What I really meant is that with their API and 500 quota, compressing all 51 cat images can be easily done.

I opened a pull request #3 , images are now ~50% smaller on average.

@rogeriopvl
Copy link
Member

Closed via #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants