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

Makefile.vc(18) : fatal error U1050: Unable to auto-detect toolchain architecture! If cl.exe is in your PATH rerun nmake with ARCH=. Stop

I'm trying to build libwebp.dll for webp, using these instructions (I downloaded this source code) However, I'm getting the error: Makefile.vc(18) : fatal error U1050: Unable to auto-detect toolchain architecture! If cl.exe is in your PATH rerun…
Adam
  • 6,041
  • 36
  • 120
  • 208
0
votes
1 answer

Synology Web Station : GD WebP Support Missing

Synology Web Station: PHP imagejpeg() and imagepng() works, but imagewebp() not works. My PHP version is 7.0, [Synology Web Station]. And I checked [gd plugin] in Web Station. What's the problem?
0
votes
0 answers

Qt app linked against FreeImage library -> crash when reading webp image with Qt imageformats plugins

I am having a problem loading a webp image using the Qt imageformats plugins when the app is also linked against the FreeImage library. It doesn't seem to affect any other format loaded using the Qt imageformats plugins, but every single time I try…
Irigum
  • 175
  • 6
0
votes
1 answer

Call to undefined function imagecreatefromwebp() on PHP Version 7.2.2

I am getting this error on PHP Version 7.2.2, which is supposed to come with webp. does webp need to be installed separately ? Call to undefined function imagecreatefromwebp() i run CENTOS 6.9 standard [host] with cpanle v70.0.12 GD Version …
xpredo
  • 1,282
  • 17
  • 27
0
votes
1 answer

How do i choose import/export in React

I want to use WebP when the user open the Page in Chrome and else it should be png. i found this Code: var isChrome = !!window.chrome && !!window.chrome.webstore But i cant put an If-statement around export or import This is my Code so far: import…
0
votes
2 answers

Convert jpg images to webp

I'm trying to convert .jpg images to webp format. I have site in WordPress, and I need to add webp to my images. I read https://developers.google.com/speed/webp/ but it does not work for me. And I tried using https://wordpress.org/plugins/wp-webp/…
0
votes
1 answer

is there other way to optimize JPG image without using webp?

For a webp optimize the image, it is not supported even for IE Edge. So I wonder if webpack has other plugins than image-webpack-loader that can optimize jpg without…
ey dee ey em
  • 7,991
  • 14
  • 65
  • 121
0
votes
1 answer

Wordpress the_content() filter check if image exists

So I have some code to modify the_content() filter in wordpress. add_filter( 'the_content', 'filter_the_content_in_the_main_loop' ); function filter_the_content_in_the_main_loop( $content ) { // Check if we're inside the main loop in a single post…
Web Dev Guy
  • 1,693
  • 3
  • 18
  • 42
0
votes
1 answer

Get webp image if browser supports it using get_the_post_thumbnail()

So I would like to implement webp to a website. Currently im using get_the_post_thumbnail() function to get the post featured image. Is there a way to get the webp version of the image using this function. I have tried using the wp-webp plugin but…
Web Dev Guy
  • 1,693
  • 3
  • 18
  • 42
0
votes
1 answer

Does HttpPostedFileBase contentlength mean the actual traffic used to upload a file?

I am trying to upload an image to a windows server. I find that the HttpPostedFileBase contentlength is much larger than the actual size of the original image. My question is which number is the actual traffic amount used for uploading the image,…
user8533051
0
votes
0 answers

Why does libwebp-imageio make Tomcat crash?

I use libwebp-imageio in my web project, but it makes my Tomcat crash. here's the log info: # # A fatal error has been detected by the Java Runtime Environment: # # SIGFPE (0x8) at pc=0x00007f5a92ca41ee, pid=16484, tid=0x00007f5a98b2c700 # # JRE…
0
votes
0 answers

How to save google WEBP image format into database using C#?

I am optimizing a MVC application and obviously for optimization the very first thing is optimize images/pictures. I create webp images with google's webp plugin for photoshop. I am just wondering that is there any possibility to save webp images in…
Newbie
  • 47
  • 1
  • 7
0
votes
0 answers

What color model does WebP implement?

Does it natively support sRGB? When you load and save image data using the libwebp API, do you assume linear or sRGB encoded data? Is there a way to indicate you'd like sRGB data? Does it natively support associated alpha? When you load and save…
ioquatix
  • 1,411
  • 17
  • 32
0
votes
1 answer

Distorted images from libWebP encoder

I had been using GDI+ & CxImage libraries for saving my images captured from the desktop and thought of moving to google's LibWebp as it is promising good quality images with better compression than JPEG or PNG. I capture the desktop either using…
iamrameshkumar
  • 1,328
  • 1
  • 14
  • 34
0
votes
1 answer

Update libwebp podspec

The libwebp Podspec is out of date for both 0.5.2 and 0.6.0 (6 weeks due) I can submit the podspec updates, but I couldn't locate the original Podspec creator (It seems Google themselves do not maintain it). Any way to contact to original Podspec…
Shahar Hadas
  • 2,641
  • 1
  • 27
  • 29