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
5
votes
2 answers

WebP image format in Android

I have below doubts on webP Can i convert and use all PNG/JPEG images in project to WebP format .? or is there is specific PNG/JPEG images only i can convert to WebP format and use it Project like only banner images .?
Vishwanath.M
  • 6,235
  • 11
  • 42
  • 56
5
votes
1 answer

python - How to set exif data in a webp image?

I am trying to save an image in Webp format with exif data. Supponsenly I have built libwebp with webpmux support, but even with that, I save the image but not exif data is in. Can someone help me? It is a code problem or I am reading in a bad way…
MGs
  • 453
  • 1
  • 5
  • 7
5
votes
2 answers

What advantages are there for Google to send images as Base64 rather than e.g. jpg

I noticed that Google's new page preview gets it's images using base64 rather than plain e.g. jpgs or png's What are the advantages of doing this? Can base64 encoded images be compressed better during transit? Or perhaps cached better by the browser…
Alex KeySmith
  • 16,657
  • 11
  • 74
  • 152
5
votes
2 answers

Unable to load .webp image using Glide in Android

I am using Glide v3.7.0 to load image. I have no problem in loading .png format. But I dont even receive error response while loading .webp. If I tried to load the same url in browser it getting downloaded as file. And the file can be open via…
Ganesh Kanna
  • 2,269
  • 1
  • 19
  • 29
5
votes
2 answers

How to use WebP image in UIImageView Swift

I want to use webp image in UIImageView my ios project which is in Swift Language. I tried using Matt Thompson library but it's not working with Swift project. I have imported the framework and did all required tasks but so many link errors. How…
david35
  • 73
  • 1
  • 1
  • 7
5
votes
2 answers

How to convert webP image format to normal ? php

I have an ios and android application. sometime the users upload webP image to my server. the problem is ios can't show this image when it's downloaded from my server. so I want to check within my php code. if the image is webP format . then i will…
david
  • 3,310
  • 7
  • 36
  • 59
5
votes
1 answer

How to compile php to enable webp support?

while I compile php 5.5.10 many times ,but still cannot get webp support enable,which is described by "http://cn2.php.net/manual/zh/function.imagewebp.php". here is my compile setting: CentOS release 5.8 (Final)…
criver
  • 51
  • 1
  • 1
  • 3
5
votes
0 answers

How to set Compress-Options for WebP in Android

I try to use the Bitmap.compress method from Android's native bitmap. Since API 14, CompressFormat.WEBP is a supported format for this method. However, no matter what quality value I set, even 100, it always seems to be compressed lossy. Is there…
TSGames
  • 679
  • 11
  • 25
5
votes
1 answer

How to convert images like JPEG, PNG, etc. to WebP with ColdFusion while maintaining the metadata?

I'm looking for an effective method for automating the conversion of a number of images to the WebP image format. I'm particularly interested in a method that will keep the metadata or allow me to add or edit the metadata.
Micah
  • 1,221
  • 17
  • 42
5
votes
1 answer

Convert Bitmap to WebP Image?

Anyone know if it's possible to convert a Bitmap to a WebP image using C#? Been Google-ing around but wasn't able to find anything for C#. I found this: mc-kay/libwebp-sharp · GitHub but it doesn't seem to convert bitmaps to the WebP format. Any…
Joey Morani
  • 25,431
  • 32
  • 84
  • 131
4
votes
3 answers

Why does a small favicon take 10 times as long to load?

I am using GTMetrix to analyze our website. I find a strange thing. It takes 221 ms to load the 1.32k favicon.png. But takes only 26ms to load 1.61k logo.png, see below: Why favicon.png needs so long to load? I test for many times, and favicon.png…
alancc
  • 487
  • 2
  • 24
  • 68
4
votes
1 answer

Convert animated gif to webp in PHP using Imagick

Is it possible to convert an animated GIF to WEBP using Imagick? $im = new \Imagick(); $im->pingImage( _INTERNAL_FOLDER_ . $dir . "/" . $id . "/animation.gif" ); $im->readImage( _INTERNAL_FOLDER_ . $dir . "/" . $id . "/animation.gif"…
Get Schwifty
  • 143
  • 2
  • 10
4
votes
2 answers

How to enable animated webp (awebp) in React Native Fast Image?

We have animated webp files working great in our React Native app using the default component. We were hoping to benefit from some of the caching extras built into react-native-fast-image. However, it works great for everything except awebp…
GollyJer
  • 23,857
  • 16
  • 106
  • 174
4
votes
3 answers

Compiling ImageMagick: Cannot Find 'libwebp', compiled From Source on Amazon Linux 2

I am trying to recompile ImageMagick to enable webp support for PHP. The issue appears to be that when compiling Imagick using ./configure --with-webp=yes it cannot find a libwebp library with a higher version than 0.4.1. Amazon Linux 2's repos only…
andrew hutchings
  • 343
  • 1
  • 5
  • 18
4
votes
1 answer

React Native WebP format Image disappearred sometimes

We’re react-native 0.64.0. We have a problem after transformatting all images to webp in our app. The problem is webp format image not rendering properly sometimes and only show blank area. The problem show only iOS and I think that happens only 1%…