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

Optimize and Compress Images #111

Open
dchen97 opened this issue May 21, 2019 · 7 comments
Open

Optimize and Compress Images #111

dchen97 opened this issue May 21, 2019 · 7 comments
Assignees

Comments

@dchen97
Copy link
Contributor

dchen97 commented May 21, 2019

Compressing and resizing https://oppiafoundation.org/assets/images/home/home_impact.jpg could save 60.9KiB (73% reduction).

Compressing https://oppiafoundation.org/assets/images/navbar/oppia_foundation_logo.png could save 1.2KiB (30% reduction).

@hoangviet1993
Copy link
Contributor

Hi @dchen97 what are you using to compress the images to get the result you mention?

@iharshit009
Copy link

I have a suggestion...
can we use webp format to compress the size of images??
@dchen97

@hoangviet1993
Copy link
Contributor

Thanks @iharshit009 for the suggestion!

I individually compressed all images before putting them in the repo. I could use a different tool to further compress them.

@iharshit009 How do you think Webp will help with compression? Have you had experience converting jpeg to webp? I can get you the original uncompressed version if you want to give it a try!

@iharshit009
Copy link

iharshit009 commented Jul 28, 2019 via email

@hoangviet1993
Copy link
Contributor

hoangviet1993 commented Jul 31, 2019

So I did some digging and managed to find the original source of the photo.

@iharshit009 Would you mind going to my provided link, click "Free Download" and then select "Original"? A year ago, I was emailed the photo by the designer at the time and it was around 5MB. I think downloading from the source would prevent cross-server compression.
https://www.maxpixel.net/Different-Happy-Faces-Children-Rural-Drawings-1853193

Also, according to caniuse, Safari has yet to support WebP. Safari is the default browser engine for iOS devices. How do you address this problem?

@iharshit009
Copy link

iharshit009 commented Aug 1, 2019 via email

@gurramkarthiknetha
Copy link

I want to take this up this issue if you are not solving...

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

No branches or pull requests

4 participants