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
0
votes
1 answer

How to get all bitmaps from animated webp using android fresco?

How to get a list of all bitmaps from webp animation using android fresco? The code below is always returns null instead of a bitmap val imageRequest = ImageRequestBuilder …
exoPlanet
  • 11
  • 4
0
votes
1 answer

Unable to add WebP to ImageMagick

I'm trying to add WebP support to ImageMagick but it does not. First I've installed libwebp 1.0.2 (https://developers.google.com/speed/webp/docs/compiling#building), so cwebp -q 80 image.png -o image.webp works correctly and the library's path…
Fasolechka
  • 34
  • 7
0
votes
1 answer

How To Save WEBP Image As Another Type

It is difficult to find an app that can view WEBP images. So when you download one to your harddrive, it would probably be more convenient to download it as something more common, like a JPEG or PNG. So is there an easy way to save a WEBP as a…
Supercreature
  • 441
  • 6
  • 25
0
votes
1 answer

How to provide webp, jp2 and other image formats in a style tag?

Actually I'm using something like (very easy html): Alt Text! to deliver for best SEO…
Joël A
  • 196
  • 1
  • 2
  • 13
0
votes
1 answer

How to redirect all PNG, JPG and JPEG links to a specific PHP file via GET request

I am developing a WordPress plugin that optimizes the website. Currently, I am trying to convert all the images (PNG, JPG and JPEG) images to Webp using Rosell-dk's webp library https://github.com/rosell-dk/webp-on-demand which supports sending the…
0
votes
1 answer

How to execute command on files with spaces in them?

I am dealing with a legacy codebase where we're trying to convert all jpeg/png files to webp format using the cwebp command. Unfortunately, a lot of the image files were saved with spaces in the name. Example: i am poorly named.jpg So when running…
SavSamoylov
  • 65
  • 1
  • 2
  • 7
0
votes
1 answer

How to get webp image size from URL in iOS?

I tried to use CGImageSourceCreateWithURL method like below, but it seems both height and width are equal 0. Is there any other way to get webp image from url? CGImageSourceRef source = CGImageSourceCreateWithURL((CFURLRef)imageUrl,…
lukey
  • 1
  • 1
0
votes
1 answer

How to use the WebP image format in DotNetNuke?

I am trying to add the following code to my DotNetNuke website to improve site performance, but it seems like .WebP format images do not render for some reason, It will show the broken Image icon. I doubled checked the image paths and everything is…
Tig7r
  • 525
  • 1
  • 4
  • 21
0
votes
1 answer

Using libwebp c api to create animation but only first frame is encoded

I am trying to encode a sequence of images generated in my c++ code into animated images to make viewing them easier. I picked webp and followed some code examples from the official document. I would not need to tune any parameters. As long as it is…
Jason M
  • 411
  • 5
  • 19
0
votes
1 answer

WebP htaccess mod_redirect assistance

I'm using ShortPixel plugin and trying to serve webp images via htaccess mod_redirect, but its not working. My host is SiteGround (Apache) and they have told me the following: 'The files are indeed loaded via .jpg extension but internally they are…
0
votes
1 answer

WPF Can't retrieve WebP image from url?

I'm unable to retrieve an image from a url. Previously I was unable to connect to the site at all until I set HttpClient headers. I'm able to retrieve images from other sources but not this particular one. Code for retrieving image: var img = new…
Max
  • 71
  • 1
  • 9
0
votes
1 answer

Adding WP Custom Logo as Webp image in Timber

I'm using the Timber starter theme and I'm getting hung up on adding the logo from the WP dashboard. First thing I did is 'add support' for the Custom Logo in the functions.php: --functions.php-- add_theme_support( 'custom-logo' ); Then I added…
A. Kolbo
  • 81
  • 9
0
votes
1 answer

Laravel Buglinjo/WebP does not save image

I'm having trouble using Laravel-WebP (https://github.com/buglinjo/laravel-webp). I did the installation as described on the page, as my laravel is version 5.8 disregarded the specific instructions for laravel less than or equal to 5.4. Here is the…
Max William Vitorino
  • 1,200
  • 2
  • 11
  • 19
0
votes
1 answer

Can AEM 6.2 be enhanced to support webp?

We need to support webp images in AEM 6.2. As this is not supported by default, is there a possibility to enhance AEM by adding and rendering a new mime type?
0
votes
0 answers

C# - How to add WebP support to GeckoFX embedded browser in Windows Form?

I'm building a browser in a C# .NET Windows Form Application and want to add support for WebP (.webp) images. How would I go about doing this? The project uses Geckofx60.64 to create an embedded GeckoFx web browser. I have not been able to find any…
Peacock
  • 302
  • 1
  • 13