Questions tagged [animated-webp]

12 questions
21
votes
4 answers

Is it possible to get the new ImageDecoder class to return Bitmaps, one frame after another, manually?

Background I'm trying to go over bitmaps of animated GIF&WEBP files manually (frame by frame), so that it would work not just for Views, but on other cases too (such as a live wallpaper). The problem Animated GIF/WEBP files are supported only from…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
12
votes
3 answers

Using Glide, how can I go over each frame of GifDrawable, as Bitmap?

Background In a live wallpaper, I have a Canvas instance that I wish to draw GIF/WEBP content into, which was loaded via Glide. The reason I wish to do it with Glide, is that it provides some advantages over a solution I've found in the past for the…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
2
votes
1 answer

Decode Animated WebP using Javascript (React / NextJS)

I'm trying to decode animated WebP images. I'd like to extract the frames composing the animation as well as the delay for each frame. Any idea of how to deal with decoding animated WebP images using JavaScript in a React / NextJS environment? I've…
yondur
  • 41
  • 4
1
vote
2 answers

Decode an animated image using libwebp DLLs and JNA

I need to read static and animated WebP images in Java. There is no DLL offered for libwepb, so I've downloaded the source and compiled it in the Native Tools Command Prompt for VS 2022 on Windows like this: ..\libwebp-1.2.2>nmake /f Makefile.vc…
user2375667
  • 463
  • 3
  • 10
1
vote
2 answers

Animated Webp - change framerate

Is there any tool or script for batch converting animated webp images? I want to create animated thumbnails from my animated webp images: resize image size reduce quality (lossy compression) reduce frame rate I tried tools like ImageMagick, but…
Robert
  • 161
  • 1
  • 3
  • 9
0
votes
0 answers

Understanding the meaning and implication of Blending and disposal method stated in Google's WebP Container Specification

I am working with aniamted webp. I am referring google's documentation called WebP Container Specification The doc says the following things about blending and disposal methods Blending Method: Blending method (B): 1 bit Indicates how transparent…
CrackerKSR
  • 1,380
  • 1
  • 11
  • 29
0
votes
0 answers

How to set alpha flag in VP8X chunk of webp image having transparency

I am working on encoder decoder for animated webp image using pure java. I have to write static webp image from each from of animated webp image. It works fine but for the image having transparancy in image. reader gets flags for animation and alpha…
CrackerKSR
  • 1,380
  • 1
  • 11
  • 29
0
votes
0 answers

SDL2 problems with webp animated images works with gifs but not with webp

im trying to play animated image to SDL2, my code works with animated gifs and static, if i add a static webp image works fine to, but if i add an animated webp, console gives me message fail to decode. I get the SDL2 last release with…
RFS Vieira
  • 11
  • 1
0
votes
2 answers

Some animated webp files causing the Exception "java.io.IOException: Not supported FourCC: ��.V.P.8"

I am using webp encoder from this. The authur abandoned the project so no help from there. It had some issue like reading FourcC ICCP and ALPH. I added codes for them and now It can encode bitmaps to animated webp. But the problem is some of…
UHS
  • 584
  • 4
  • 8
0
votes
0 answers

Need to Compress(reduce size) of Animated WEBP file - FFmpeg, libwebp

I want to reduce WEBP file size. I'm using https://github.com/tanersener/ffmpeg-kit library to convert my video .mp4 to .webp Input File MP4 Size - 800kb Output File WEBP size - 5.22 MB Commands which i used ffmpeg.exe -i outputbitrate.mp4…
Dev007
  • 222
  • 2
  • 9
0
votes
2 answers

Dart: The argument type 'Image?' can't be assigned to the parameter type 'Image'

What is the meaning of this error and how to solve it? Error: Animation? decodeImage The argument type 'Image?' can't be assigned to the parameter type 'Image' Dart Code: import 'dart:io'; import 'package:image/image.dart'; void main(){ final…
CrackerKSR
  • 1,380
  • 1
  • 11
  • 29
0
votes
1 answer

Fresco - How to check if a file is animated webP or not progrmmatically?

I have an image file of webP format. How can I check if it is animated webP or a static image programmatically?
Ganesh S S
  • 571
  • 5
  • 10