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

Add feature detect for lossless WebP images #692

Merged
merged 1 commit into from
Sep 18, 2012

Conversation

amandeepg
Copy link
Contributor

This adds detection for the new lossless format for WebP images introduced by Google, on Aug. 30, 2012.

Reports true on Chrome Dev (v23), as it should.
Reports false on Chrome Stable (v20) and Firefox 16, as it should.

Created the base64 image by making a 1x1 PNG image in GIMP, then running:

$ cwebp -lossless small.png -o small.webp
$ base64 small.webp

@paulirish
Copy link
Member

sounds good to me!

@paulirish
Copy link
Member

thanks very much @amandeepg

paulirish added a commit that referenced this pull request Sep 18, 2012
Add feature detect for lossless WebP images
@paulirish paulirish merged commit 6c9dfa8 into Modernizr:master Sep 18, 2012
patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
Add feature detect for lossless WebP images
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

Successfully merging this pull request may close these issues.

None yet

2 participants