3,174 questions
0
votes
1
answer
68
views
(Non-infinite-loop) animated GIF won't restart on Firefox with the normal method
I'm trying to make an interactive button in my single-page webapp, where a non-looping animated GIF can be restarted upon a user interaction, or specifically a click.
I've looked through the Web and ...
3
votes
1
answer
186
views
Change text and GIF color when they overlay other GIF
Element A is a div with a black text (span element) and a black text GIF (img element) that has position fixed. Element B is a color GIF (img element) that does not have position fixed and when you ...
1
vote
0
answers
118
views
.gif Compose Multiplatform (Android & iOS)
How can I display .gif images in Compose Multiplatform on Android and iOS?
Coil supports gifs only on Android
Using a native implementation with UIImageView on iOS doesn't work, since the gifs have a ...
0
votes
0
answers
32
views
How do you use devicepixelratio to get a lossless canvas (with Gifa11y)?
I've been using Gifa11y on my website to automatically make all the gifs on my page able to be paused by the user. If you're unfamiliar, Gifa11y is vanilla javascript and creates still images from ...
0
votes
1
answer
163
views
Qt play gif animation in QTextBrowser or QTextEdit container ( html format )
In Qt Creator gif animations are played using the movie.play() methode (using a QLabel container).
However, if I wish to play an animation in a QTextBrowser or QtextEdit container, using html notation ...
1
vote
0
answers
86
views
Flutter: How to avoid caching of gif image
I'm using Image widget to display a gif in a specific screen:
Image.asset('assets/images/5SecondsCountDownGif.gif'),
So, when this screen is displayed, user is supposed to see a 5 seconds count down, ...
0
votes
1
answer
60
views
Why doesn't React update my image URL event after adding in a key to trigger a re-render
So here is my code:
<img src={currentQuestion?.GIF_URL} key={`${GIF_URL}-${currentIndex}`} alt='gif' style={{margin: '0 auto'}} />
As you can see I've added in a key to tell React to trigger a ...
0
votes
1
answer
310
views
How can I create a GIF image using Pillow and imageio with Python?
I have the following code that creates 60 frames using Pillow in Python 3.11.10 and that I want to use to create a GIF image (repeating endless), with a duration per frame of 0.1 seconds. The first ...
0
votes
1
answer
74
views
cropping a gif file by removing the white spaces [duplicate]
I am trying to crop the gif by identifying the objects within the file and eliminating the spaces where there are no objects. I have a code which splits the gif by processing each frame of the gif. ...
1
vote
0
answers
48
views
Python: creating af gif from multible images with different duration for each image
I am trying to create a gif using 3 different images where I specify the duration for each image.
Is there a good way to make the duration variable for each image?
Alternatively, is there a way to ...
0
votes
1
answer
45
views
PIL cannot set loop of GIF to 1
I am trying to convert a gif, first crop it then convert it into a gif which only loops once. It loops only once when I use Microsoft "Photo" app. However when on a html page it loops twice.
...
0
votes
1
answer
318
views
Synchronize two separate .GIFs to play at the same time without JS?
I'm working on creating a somewhat complex custom CSS page for Itch, which restricts me to using only CSS and HTML—no scripts allowed.
I'm facing an issue where I need two separate GIFs to play ...
0
votes
1
answer
85
views
How do I split an animated gif into its individual images in Tcl/tk 8.4 or 8.6 with pure Tcl/Tk only
I'm working on some compatibility stuff with my freeware hurricane
tracker, JStrack, which has been based on Tcl/Tk 8.4 for a LONG time
(didn't know 8.6 was 100% backwards compatible, so now swapping ...
0
votes
0
answers
66
views
Python Tkinter GIFs Overlapping
I am using tkinter to create a project. It runs fine, until f9 is pressed of which multiple instances of a gif sometimes overlap themself. I have no idea why this is happening, I have tried different ...
0
votes
1
answer
62
views
Animate a MWE GIF in R
Could you please tell me why this MWE of an animated GIF, compiled in R, does not animate?
library("ggplot2")
library("gifski")
library("gganimate")
library("dplyr&...