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

Youtube thumb image (WEBP) doesn't work on firefox

Simply this is my video image that im trying to assign as background to some div , a link can be found here : https://i.ytimg.com/vi_webp/9dUCBs3L0Oo/maxresdefault.webp the image loads in chrome but on firefox , guess it may be some encoding issue ,…
ProllyGeek
  • 15,517
  • 9
  • 53
  • 72
0
votes
1 answer

PHP server: save (upload) image from Android with Retrofit

First of all, thank you for reading my question. I have a PHP server where I wanted to upload an image from Android devices. When I pick an image in my phone, it is uploaded as a TypedFile (retrofit.mime.TypedFile) to a PHP script. When I want to…
victor.alm
  • 480
  • 1
  • 7
  • 16
0
votes
0 answers

jQuery .load() changes HTML attributes turning a webp file into a gif

The following HTML: Turns into this when I load it with…
Ruben Smit
  • 15
  • 1
  • 5
0
votes
1 answer

CWAC Camera: why my SimpleCameraHost saveImage is so slow, am I doing something wrong?

How to optimize this peace of code? It takes about a minute on saveImage method. class ObrolSimpleHost extends SimpleCameraHost { private final String[] SCAN_TYPES = {"image/webp"}; private Context context = null; public…
Kamol Mavlonov
  • 365
  • 3
  • 9
0
votes
1 answer

WebP recommended settings for bulk conversion

WebP seems to have an incredible number of settings you can tweak. That's great if you are converting images by hand, but is there a set of recommended default settings for WebP, or has Google published somewhere what settings they are using for…
Jay Paroline
  • 2,487
  • 1
  • 22
  • 27
0
votes
1 answer

Rendering webp images

I have a byteArray that represents a PNG, but I want to convert this to webP. I have the following code. I make use of com.sksamuel.scrimage.Image in my code and load the System library webp_jni. val image = Image(content) //content of PNG of…
dingdong
  • 169
  • 10
0
votes
1 answer

Why can't I install Pillow on my mac? It gives some errors

here is the error from installing Pillow. I'm using OS X Mavericks. I tried installing Pillow through pip install.. _imaging.c:391:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int…
Leonid
  • 340
  • 1
  • 3
  • 16
0
votes
1 answer

Facebook, what is WebP format of photo

In this reference of the "photo" table on Facebook, there was a new image format, which is called WebP format, any one knows what's the difference between this format and some other formats like JPEG or PNG? Is this kind of image used on handsets?
betteroutthanin
  • 7,148
  • 8
  • 29
  • 48
0
votes
1 answer

Display WebP image on Android 2.x with libwebp and NDK

I'd like to display webp image on older Android platforms. I tries these steps: Download latest Android SDK and NDK package. Add NDK path to system environment path and set it in Eclipse preferences. Create new Android project in Eclipse Right…
Cloudream
  • 631
  • 6
  • 14
0
votes
1 answer

imagick install problerm:undefined symbol: MagickGetImageBluePrimary in Unknown on line 0

Recently i want to add webp support for my imagemagick. I install libwebp-0.3.1 and imagemagick-6.8 correctly,but after i install imagick-3.0.1 successfully , I run cmd: $:php -m | grep "imagick" it shows: PHP Warning: PHP Startup: Unable to load…
0
votes
2 answers

Does HTML/javascript client-side image compression seem like a reasonable, fool-proof plan?

I have a plan to add images to a chat I've created, but the problem is that I have a small amount of bandwidth to use and I don't want to overstay my welcome, so does this form of file compression seem legitimate and safe? If you open developer…
dylanweber
  • 580
  • 7
  • 19
-1
votes
1 answer

Javascript WebP image detection failed in Ios (Safari)

i tried a few JS webp detection, but they all always failed in safari on ios. How is this possible? I have the latest version of IOS, both Iphone 12 and 13, and friends with Iphones are reporting this as well. Is there a problem? For example, this…
Mr. RJ
  • 224
  • 5
  • 14
-1
votes
1 answer

The width and height of a webp image are stored in which byte

I want to get the width and height of the webp image in the gradle plugin, so I want to translate the bytes into width and height by finding the byte position where the width and height are located nothing,I can't find the file format for webp
ke le
  • 1
  • 1
-1
votes
1 answer

Problem saving WebP with Gimp Python script

I have this script to automate resizing and saving into WebP format, but I have something set wrong: !/usr/bin/env python from gimpfu import * def automate_edit(image, drawable, new_width, new_height): pdb.gimp_image_undo_group_start(image) …
Seehank
  • 3
  • 2
-1
votes
1 answer

Does SDWebImage support webp images without SDWebImageWebPCoder?

I was able to download and display Webp images without SDWebImageWebPCoder using SDWebImage 5.13.4. So what is the purpose of SDWebImageWebPCoder? Does SDWebImage already support Webp or am I wrong about something here? How can I identify if Webp…
Keer
  • 75
  • 7