Questions tagged [webp]

WebP is an open standard for image encoding. It is intended to provide support for animation, metadata, lossless compression, and transparency without the patent or license restrictions of existing formats.

WebP is a new image format that provides lossless and lossy compression for images on the web. WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at equivalent SSIM index. WebP supports lossless transparency (also known as alpha channel) with just 22% additional bytes. Transparency is also supported with lossy compression and typically provides 3x smaller file sizes compared to PNG when lossy compression is acceptable for the red/green/blue color channels.

754 questions
3
votes
1 answer

Serve images in next-gen formats: Fallback Image?

As Google suggests for page performance I am adding webp images to my project. However I am aware that Safari does not support this image type so I am attempting to add a fallback png image for Safari users. I used the set up below. This works as a…
AndrewLeonardi
  • 3,351
  • 9
  • 47
  • 100
3
votes
1 answer

jquery lazyload images and webp with fallback

I am a bit confused how to use the picture fallback solution in combination with jquery lazyload. I use this library: At the moment my…
Krystian
  • 887
  • 5
  • 21
  • 52
3
votes
2 answers

How to convert image into webp using gm in node.js

I was using gm for resizing images. Now I learn about webp to speed up my site. So I want to convert images into webp using same library. But the following does not work. How can I convert images into webp by gm? function resize(last) { …
Haseeb Ahmad
  • 7,914
  • 12
  • 55
  • 133
3
votes
1 answer

Image Compression using WebP technology

WebP technology is use for both lossy and lossless image compression which compress image more than "JPEG" and I'm studying in image compression technique. so if any one can provide me clear algorithm for WebP image compression it would be help full…
3
votes
0 answers

WebP encoding - 'Symbol not found in architecture' issue

I am currently doing a sample iOS mobile app(Xcode 7, Swift 2.2) which does both encoding and decoding of WebP images. I have downloaded a precompiled version of WebP framework and included in my project using a bridging header file. It works fine…
user7203643
3
votes
3 answers

How do I convert webp data URI to png

I have converted the webp image to png by using WePJS on the fly. But this library works only in image file like "abc.webp". It does not convert into png image from webp image made by something like "data:image/webp;base64,UklGRvYRAABXRUJQ....." Is…
Suman Bogati
  • 6,289
  • 1
  • 23
  • 34
3
votes
0 answers

Bitmap.CompressFormat.WEBP on Android API 19 alpha channel becomes black

I wrote a service that retrieves image from web (JPEG, PNG, ...), which I then, save to disk in webp format. I save the image using the following code: try (FileOutputStream fos = new FileOutputStream(imgFile)) { …
ryuujin
  • 192
  • 3
  • 16
3
votes
1 answer

Gulp duplicate image and convert to webp

I have added a webp conversion to my images task in Gulp. It does what it says on the tin and converts the image. What i actually want to achieve is a duplicate webp version of the image, not replace it. My task is as follows; gulp.task('images',…
Alex
  • 2,003
  • 4
  • 19
  • 30
3
votes
3 answers

WebP MIME type not recognized in Firefox

Is the world ready for the new image format WebP ? I'm considering using it, the specs look very sexy, however, it seems like it is not supported on Firefox (and who knows which other web browsers), I noticed that a OkCupid.com is using it, but if…
Yovav
  • 2,557
  • 2
  • 32
  • 53
3
votes
0 answers

WebP format conversion for iOS SDK

WebP-iOS demo app is an excellent workout for converting PNG/JPG images into WebP format, but found performance issues while converting images with size above 500kb. Has someone come across this issue? If Yes, can you please suggest a way to improve…
prism
  • 31
  • 1
3
votes
1 answer

Internet Explorer and Firefox not showing all images on page

For some reason I've been experiencing a weird problem with my website for a long time now, and I still haven't figured out what is causing the problem. This is what my webpage looks like in Chrome: (and this is what it should look like in any…
Yannick
  • 235
  • 3
  • 12
3
votes
0 answers

function imagewebp doesn't exist in PHP 5.6?

PHP-File:
Alfred Bez
  • 1,191
  • 1
  • 14
  • 31
3
votes
0 answers

Encoding images to webp on iOS regardless of the color space?

I'm trying to convert any picture to WebP on the fly but I have a lot of trouble with images that have a color space that isn't RGB: it's grayscale (kCGColorSpaceModelMonochrome). Is there an existing WebP library or class that will convert non-RGB…
Felix Lapalme
  • 1,058
  • 1
  • 11
  • 25
3
votes
1 answer

Certain webp image not able to load in Android 4+

I have been trying to open webp image in android 4+ webview. here are the links to those images. https://www.dropbox.com/s/c2fjmlwbyi7r715/10.webp [WEBP 540x960 540x960+0+0 16-bit sRGB 11.9KB 0.030u…
Rajan Twanabashu
  • 4,586
  • 5
  • 43
  • 55
3
votes
2 answers

If Chrome, use WebP

Because currently only Chrome and Opera supports WebP, I was wondering if I could target those two particular browsers and redirect them to fetch another version of my website so I can help optimize my site downloading speed more faster? Thanks.
level3
  • 53
  • 6