Questions tagged [animated-gif]
An animated .GIF image is an image file which displays an animation.
1,377
questions
0
votes
0
answers
22
views
How to increase gif generation time
I have a web page with an IMG tag and a link my-server.com/animationID.gif.
When someone opens a web page, my server generates a new GIF animation which appears on the web page.
I'm using the ...
1
vote
0
answers
23
views
Codename One - GifImage not supported
I am developing a simple Android-Mobile-App that uses a Gif. It's a Maven project.
I have imported the Animated-Gif-Support library and used the code form here.
Unfortunately, when I paste the sample ...
0
votes
0
answers
49
views
Adding dynamic title to ggplot maps
For this week's TidyTuesday challenge, I wanted to make an animated map showing the monthly level of drought on US counties between 2020-2022. For this purpose, I wrote the following code chunk
...
0
votes
0
answers
15
views
Presenting gif next to figure in Jupyter slides
I am trying to present gif next to a figure in Jupter slides which is compiled to HTML file. I am using the following code in a markdown cell:
<table><tr>
<td> <img src="...
0
votes
1
answer
15
views
Merge an animated gif over a static png at a specific location using ImageMagick
I have managed to paste an animated gif over a static png and obtained an animated gif from
those sources with the following command.
convert canvas.png animation.gif test.gif
and it works, but the ...
0
votes
0
answers
28
views
Is there any possibility to change speed of a loaded GIF by Glide
I'm trying to change the speed of a loaded GIF by Glide :
Glide.with(recordroo.this)
.asGif().load(outputPath)
.listener(new RequestListener<GifDrawable>() {
@Override
...
0
votes
0
answers
27
views
Loading GIPHY Images into table view
Hey everyone so I am trying to load all of the gif images from the GIPHY API but I keep getting the error below.
2022-06-09 10:39:12.255202-0700 GIPHY App[41186:1667340] [boringssl] ...
1
vote
2
answers
73
views
tcl/tk: animated gif not decoded correctly
I'd like to show some animated GIFs (mostly for "Tip-of-the-Day" screencasts) in my Tcl/Tk application.
Following https://stackoverflow.com/a/28797669/1169096, I've created this small script ...
0
votes
0
answers
32
views
Gifu not showing image
I'm trying to load a gif and animate it using Gifu. When trying to do so the gif is not shown GIFImageView() does exist since it can be noticed when changing the background color and I checked that I ...
-1
votes
1
answer
33
views
Can't use WpfAnimatedGif nuget package [duplicate]
I'm trying to make a WPF project that use nuget package of "WpfAnimatedGif" (https://github.com/XamlAnimatedGif/WpfAnimatedGif) in order to make a window background gif.
But for some reason, ...
-1
votes
2
answers
51
views
Using WPF and GifBitmapEncoder to create GIF with 1-bit transparent background Has anyone done this?
Ive been able to use WPF and GifBitmapEncoder to create GIF files in C# but they are without transparency. I can remove the black background in code using alpha techniques and display transparent ...
0
votes
1
answer
31
views
How to use ImageMagick to put background under animated, rendered foreground
I have some rendered, animated planets with a transparent background (checkered in most viewers) and want to put a background star field behind them, like this:
I'm currently rendering a flat plane ...
3
votes
1
answer
38
views
Is it possible to plot a series of matrices in this format using gnuplot
My code currently creates an output that comes out as so (using example numbers)
0.0 0.0 0.0
0.0 1.0 0.0
0.0 0.0 0.0
0.0 0.0 2.0
0.0 0.0 0.0
0.0 0.0 2.0
0.0 0.0 0.0
1.0 0.0 0.0
0.0 0.0 0.0
...
0
votes
0
answers
18
views
How to show and hide PImages depending on framerate?
I am a first-year uni student learning Processing and I am having some trouble :(
I want to create the illusion of waves in my program (I am creating an interactive story) and I intend to do this by ...
0
votes
0
answers
82
views
SDWebImage SwiftUI Animated GIF not looping?
Basically certain gifs just aren't looping under this framework. It will run once then never again on appear. This happens on both simulator and previews. Oddly enough this problem only occurs with ...
0
votes
2
answers
43
views
How to make a 1-hour gif using Python?
I want to make an 1 hour - long gif which will consist of 60 frames.
I already have built a gif_making function using PIL:
sortedFiles = sorted(glob.glob('*.png'),key=os.path.getmtime)
...
0
votes
0
answers
27
views
How to add rotated gif imageview into video layer without break position in swift?
I have created video editor, where I can add sticker, text and animated gif images
but I'm getting problem to get correct position or rotated gif images, It breaks the UI and showing different place ...
0
votes
3
answers
64
views
How to show/hide animated GIF during the execution of a function?
I want to display an animated GIF (spinner icon) during the execution of a function and then hide the GIF when the function is completed.
However, the code that I'm implementing does not display the ...
0
votes
0
answers
38
views
Tkinter Gif issue: black becomes white and previous frame doesn't disappear
I'm trying to code a desktop pet in python. For that I mainly used tkinter. I managed to create a window with two gifs which follow one another, but I have an issue with the display of the frames. As ...
0
votes
0
answers
23
views
question about gif rendering with transparency
I managed to show a gif almost perfectly with the disposal methods and everything, but I have a big trouble with the transparent color.
I saw other apps that draw a previous bmp on the next ...
0
votes
0
answers
35
views
p5js // Change LIVE capture animation to a gif/moving animation
So lately I have done some exploration on the camera delay sort of effect on P5.js, and I just couldn't wrap my head around something— When I try to replace the img source from "createCapture(...
1
vote
1
answer
265
views
PyQt: show animated GIF while other operations are running
I have a loading GIF, and I want to show it as a loading screen till a specific method is finished. My problem is that the GIF won't keep running because there is another function working, and that ...
0
votes
0
answers
80
views
Animated GIF not animating in browser
I have an animated GIF which was working fine in development, but not after build. I have tried it in chrome and edge. I have a static placeholder which is displayed fine and on mouseEnter it gets ...
1
vote
1
answer
67
views
Load gif from network url android using fresco library
I am able to keep GIF file in drawable folder and use :
fun showGif(gifView: SimpleDraweeView?, resourceId: Int) {
val draweeController: DraweeController = Fresco.newDraweeControllerBuilder()
...
0
votes
2
answers
39
views
Python / Kivy / Gif : How to remove gif after animation
I want to have a Gif as an opening animation that is deleted or moved away after the animation. However nothing seems to work, the image just stays there.
from kivy.uix.widget import Widget
from kivy....
0
votes
0
answers
28
views
How to display two or more gifs in android?
I am using android studio to run my project where I try to display multiple gifs in one GifImageView.
The problem is that when I run the project, the app displays only the last gif. I think that it ...
0
votes
0
answers
69
views
Pausable animation in Sphinx documentation
I would like to add an animated figure (in my case a .gif) in my Sphinx documentation that only starts playing on the readers "click".
So far I managed to simply add the gif using:
.. figure:...
0
votes
0
answers
129
views
FFMPEG convert video to gif
I want convert video to gif with FFMPEG.
and this is my code:
File gifFile=new File(file.getParentFile().getPath()+"/someee.gif");
String[] command = {"-...
0
votes
0
answers
24
views
Can a GUI run with Image and gif at the same time using RFID
I don't have any programming skill knowledge. But I had a project that need to run on Raspberry pi device using python program.
For example:
The project display is like,
No RFID detect it will remain ...
0
votes
0
answers
45
views
Is there a way to programmatically create a gif from a mo.js animation?
I just want to programmatically create a gif from a very simple mo.js animation like this:
const burst = new mojs.Burst({
radius: {0:300},
children: {
shape: 'rect',
duration: ...
0
votes
1
answer
117
views
ImageMagick Animated GIF not working correctly
I am trying to upload some animated GIFs. Some work great, others get messed up as seen in the attached example. Here is my basic ImageMagick command:
exec(" convert elephant_upload.gif -strip -...
0
votes
0
answers
18
views
WaitGif Form - Coordinated cancellation of thread (via token) with Cancel Button in Spawned Form
I am using a class to load a waitgif form (via threading), attributed to @nobugz here. The spawned waitgif form has a cancel button. The problem is that I need the class that spawned the thread (...
0
votes
0
answers
34
views
Create a video of loop
Hi i'm more used to Matlab but I'm creating a code in python which calculates, the position and speed of a bunch of particles, I'm working with both Matlab a Python, but results Matlab using a loop ...
2
votes
0
answers
84
views
Python Notebook Create and Display GIF Without Saving to File
In Jupyter Notebook, you can have an image from a Numpy array and show it without having to save it, like so:
from PIL import Image
import numpy as np
array = np.zeroes((100,100))
img = Image....
1
vote
1
answer
30
views
Why is part of my GIF.js animation covered in black?
I'm creating a GIF based on a Canvas animation using GIF.js. However, only a portion of my GIF is visible, with the rest covered in black. How do I make the full animation appear?
0
votes
1
answer
32
views
Why does my preloader vanish before the page loads?
My preloader disappears before the content is fully loaded,so technically it's useless. How can I fix it also that I've tried various approaches without success? Also, the gif is incredibly enormous; ...
0
votes
0
answers
17
views
How to make GUIZERO to loop RFID using python
I'm a beginner of Python using Raspberry Pi device.
Is there any solution to help using
GUIZERO to continue looping on RFID tag?
Input GIF into GUIZERO and loop with RFID, the GIF that can keep on ...
0
votes
1
answer
31
views
Animated gif looping more than once after uploading to WordPress
I have an animated gif that is supposed to only loop once after it is loaded on the page. The image works fine when viewed by itself in the browser, but once I upload it to the WordPress media library,...
0
votes
0
answers
17
views
ffmpeg wasm gif output size too big
I'm using "@ffmpeg/ffmpeg" for browsers with React,
when I convert videos to GIF I'm getting too big file sizes.
Main problem is in web I cant optimize/compresss gif,
so I need some methods ...
0
votes
0
answers
102
views
QML AnimatedImage uses a lot of memory
I want to display a simple gif using qml (pyside backend), but it uses almost 100-400 mb of memory. Can I display a gif without using this much memory?
Something like telegram Animated images: https://...
1
vote
1
answer
105
views
Is it best to use GIF images or do CSS animation with multiple images?
I have a simple question Is it best to use GIF images or do CSS animation with multiple images?
Which will have high performance?
Which will be more responsive compared to both?
What are the pros &...
0
votes
0
answers
54
views
Gif loses quality in firefox and safari but not in chrome
i'm having a bad moment trying to figure out why gif images look really poor quality in firefox and safari but look great in Chrome.
This is how they look on Firefox
in Safari
And this is how they ...
0
votes
0
answers
86
views
PictureBox plays gif twice
I'm trying to create add a super simple animated gif to a PictureBox control in WinForms.
And I'm having this super weird issue, that the gif runs twice, even though the gif is created to only run ...
0
votes
0
answers
21
views
How to use WIC to set AGIF frame delay through WICGifGraphicControlExtensionDelay?
I am trying to use WIC to generate AGIF with transparent effect and given frame delay.
I send ARGB frame data to WIC to get transparent effect automatically.
But once SetMetadataByName(L"/...
0
votes
0
answers
18
views
Displaying a large animated Gif as a small. (in java)
I have this code:
import javax.swing.*;
import java.awt.*;
import java.net.MalformedURLException;
import java.net.URL;
public class main {
public static void main(String[] args) {
JFrame ...
0
votes
0
answers
66
views
how to let user download image in gif format directly from the server?
I'm new in the field of css and javascript. I'm trying to make animation images for my project. here is a one example of my animation.
*{
margin: 0;
padding: 0;
box-sizing: border-box;
...
0
votes
0
answers
21
views
Embedly oembed endpoint mute gifs
I'm using embedly's /oembed endpoint to get link previews for everything. However some links doesnt return already muted and plays a sound. I'm using angular and load the preview link like so
<!...
0
votes
0
answers
109
views
Animated gif in panel's "BackgroundImage" property (C#)
Panel's "BackgroundImage" property accepts *.gif format (in winform designer) but when I assign a gif, it doesn't animate! is there any way to put animated gif in panel background?
-1
votes
2
answers
1k
views
SwiftUI display gif image
The way to display animated gif image in swiftUI
because of Image
Image("fall-leaves")
does not support gifs
answer below
1
vote
1
answer
509
views
Golang create gif animation from png images
I'm trying to create GIF animation from png images. But I get it with color Noise. Screenshot :https://prnt.sc/22rrrfn
I have tried to change Pallete.Plan9 because 256 colors maybe not enough but didn'...