768 questions
1
vote
0
answers
45
views
How to import WebPEncodeRGB to dart?
I want to encode image into webp in dart.
I created libwebp.dll file (sources https://github.com/jacklicn/libwebp)
Now I have to use this library for encoding process:
import 'dart:ffi';
import 'dart:...
0
votes
1
answer
52
views
React frontend unexpectedly reloads when saving processed image as WebP/AVIF (PHP backend)
I'm encountering a peculiar issue in my web application where I use React.js for the frontend and PHP for the backend.
The image upload and processing workflow (cropping, format conversion, etc.) ...
0
votes
0
answers
98
views
Converting a UIImage to the WebP format is extremely slow
Converting a UIImage to the WebP format is extremely slow. For a 2.5M HEIF photo with a compression ratio of 0.85, SDImageWebPCoder and libwebp take about 13.5 seconds.
SDImageWebPCoder
let webpCoder ...
1
vote
1
answer
175
views
WebP Express does not process images loaded via AJAX in WordPress
I am using the WebP Express plugin in WordPress, and it correctly replaces elements with tags when the page loads initially. However, when I load additional content via AJAX, the newly added images ...
0
votes
0
answers
60
views
Expo ImageManipulator SaveFormat increase the size of my images
With the camera I take a set of photo like this:
const takePicture = useCallback(async () => {
try {
const picture = await camera.current.takePictureAsync({
quality: 0.4,
...
0
votes
0
answers
61
views
Unable To Serve Webp Images Through htaccess
I'm having problem to serve webp format images through htaccess. I have followed https://www.digitalocean.com/community/tutorials/how-to-create-and-serve-webp-images-to-speed-up-your-website and https:...
1
vote
1
answer
680
views
How do I set the Orientation/Rotation for a WEBP?
I'm trying to rotate a WEBP without having to recompress it.
The best way I can think of is by simply setting metadata to change its orientation.
How do I set the Orientation/Rotation metadata for a ...
0
votes
1
answer
86
views
Cannot open webp picture in html
I just cannot display a .webp file.
Html code:
<body>
Test Webp/JPG images: <br /><br />
Image1 Webp (1.4 MB):<br />
<picture>
<source type="image/webp" ...
0
votes
0
answers
71
views
When saving WebP using PIL in Python, the last pixel (bottom-right) becomes black
Problem: When saving a sequence of images as a lossless WebP animation using PIL, the last pixel (bottom-right) becomes black.
from PIL import Image
for png_file in png_files:
image = Image.open(...
1
vote
1
answer
354
views
libwebp Undefined symbols for architecture arm64: _SharpYuvConvert
Trying to compile the go-webp package using Bazel. This involves compiling libwebp from sources.
Here's how I'm retrieving libwebp's sources:
# WORKSPACE
git_repository(
name = "libwebp",...
1
vote
0
answers
429
views
Open .webp image in picturebox (Winforms, C#)
Do you have any suggestions on importing .webp images in pictureboxes without using external libraries? I read on a post here that in theory System.Drawing supports .webp format but found nothing ...
0
votes
1
answer
66
views
php gdimage image montage poor quality issues
found some code on here at PHP - Create one image from images, the code works however, when I look at the output the edges of each image are extremely low quality (blocky).
Here is the code I'm using, ...
0
votes
0
answers
214
views
Filepond and webp images
I'm using filepond with jpeg and png files and all works well. The page show an image that can be deleted or substituted. If I update the image with jpeg or png files, the image is correctly updated, ...
0
votes
2
answers
869
views
Extension to convert images to .webp format is not working
I am working on a local Composer based installation of TYPO3 v12.4 (I cannot update to v13) and have installed the extension 'plan2net/webp' to convert all of my images to .webp-format. But for some ...
2
votes
1
answer
256
views
How do I handle multiple formats of image on a sitemap? i.e. jpg webp avif jxl
I can't believe this question has not been asked or that no information seems to be available on the web given that many of the big names are pushing new formats as being the way to go.
Scenario:
I am ...
0
votes
1
answer
798
views
How to upload animated webp files in wordpress?
I want to upload animated webp files (animation in WebP format instead of GIF.) not like traditional gif file because it is much more compact in size.
Although I found a way to upload webp images and ...
0
votes
0
answers
377
views
cwebp command remove meta data of image in converting
I used cwebp for converting my images to webp with this command:
cwebp /Temp/Exmaple.jpg -o /Temp/Converted.webp
some of images captured with phone camera have meta data of orientation, in converting ...
0
votes
1
answer
443
views
PIL failing to provide frame duration when opening animated WebP files (Python)
I am writing a program in python that batch converts animated WebP files to GIFs but i am running into an issue where i cannot determine the framerate of the original file as i PIL wont return the ...
0
votes
1
answer
622
views
Hosting Blazor WASM on Azure webp images not loading
I have a blazor web assembly project. In images folder I have a mixture of jpg and webp images. When I publish the client to Azure all of the jpg images work fine and all of the webp images do not. ...
0
votes
0
answers
320
views
Webp changes colour
Does anybody of you know if there is something happening when changing the format of an image to webp? We have the situation here that it looses colour when being converted from jpg or png to webp.
We ...
1
vote
1
answer
366
views
Is the React Native Image component affected by the libwebp vulnerability (CVE-2023-4863)?
On September 11th, 2023, a vulnerability was assigned CVE-2023-4863, the bug was found to be in the WebP Codec image rendering library (libwebp). The WebP Codec library is a library used to encode and ...
0
votes
1
answer
451
views
WebP support in WKWebView from iOS 14
Does WKWebView support WebP images? If so, how can I enable this? I have only found old questions that stated that it is not possible, however since iOS 14 Safari should have support for WebP.
My use ...
1
vote
0
answers
181
views
Animated webp in Nextjs Image Component shows all frames only on mobile
An animated webp in Nextjs Image Component does not clean up frames after they've been rendered (resulting in all frames being shown by the end of the animation). Seems doubtful that the bug is with ...
2
votes
1
answer
311
views
How to save a numpy array to a webp file?
import numpy as np
from PIL import Image
I have a numpy array res:
res = \
np.array([[[ 1, 142, 68],
[ 1, 142, 74]],
[[ 1, 142, 70],
[ 1, 142, 77]],
...
3
votes
0
answers
418
views
Animated webp shows all frames only on mobile browsers (Chrome, Safari)
[Deployed via nextjs 13 & vercel]
I have an animated webp (great reduction in size relative to the APNG).
It's supposed to show only one frame at a time, out of a series of frames used to animate ...