Questions tagged [animated-gif]
An animated .GIF image is an image file which displays an animation.
1,442
questions
0
votes
0
answers
16
views
WpfAnimatedGif: ImageBehavior.AnimatedSource does not exist
I've tried to use WpfAnimatedGif in a new WPF project
https://github.com/XamlAnimatedGif/WpfAnimatedGif
But get the error message
error MC3072: The property 'ImageBehavior.AnimatedSource' does not ...
-1
votes
0
answers
11
views
How to set gif as Live Wallpaper and play Smoothly in Android..?
I Want to set GIF with Wallpaper Manager at any where in wallpaper surface..,
i'm getting GIF as string from api and want to set wallpaper as where i place gif's position and size in preview screen.
...
1
vote
1
answer
52
views
ImageMagick: Combine animated GIF with PNG frame
I have an animated GIF of a fixed size (600x200):
I am trying to combine this GIF with a PNG frame:
The frame is larger than the GIF (640x260) but has a designated 600x200 space - the GIF just needs ...
0
votes
0
answers
19
views
Python : seek() function from Pillow not working properly
I am trying to extract all images from a 14 frames GIF of dancing characters
When I try using the seek() function from Pillow to go to the next frame and use show() on the object it always show me the ...
0
votes
1
answer
53
views
using animated gif, Lottie animation or other alternatives, which is better for flutter?
I have very simple flutter main page and put electronic devices list. I just want to understand which is better for adding an animated icon near each device which showing the charging.
an animated ...
0
votes
0
answers
28
views
How to prevent gif from stacking the frames/layers/images using gifencoder node.js?
I am trying to create a gif from multiple frames/images using the gifencoder package for node.js. However the package stacks the images one over the other and I would like to prevent it from stacking ...
0
votes
0
answers
5
views
How to remove pop-up banner while making a rolling GIF using glenn/gif-scroll-animation on Apify
I wanted to take a GIF rolling screenshot of an entire webpage and found this tool on Apify: glenn/gif-scroll-animation
Unfortunatey, there's a pop-up banner which blocks the view that I need to get ...
0
votes
0
answers
49
views
How to stop a GIF image from playing and only show the first frame in Vuejs?
I'm trying to make a GIF only plays when hovering, in Vuejs. The GIF I'm using is a dynamically fetched GIF from an API. The API returns the GIF URL. How to make it stop animating and only show the ...
0
votes
0
answers
14
views
R - How to change the transition frames that show up in an animated plot to be only the ones that are present with values
I have made an animated plot using ggplot and gganimate. When setting the transition to Year the frames increment by a fraction (think like 2 months) of each year until they get to the next Year with ...
0
votes
1
answer
62
views
Draw lines and write text on animated GIF image using PHP
Hello lovely swarm intelligence!
I have some PHP code, which draws lines in form of a grid system to an image and afterwards, it also writes some text on this image. My code works as expected with ...
0
votes
0
answers
42
views
ImageMagick Error : CalledProcessError: Command returned non-zero exit status 1
I am trying to make gif using matplotlib and imagemagick but got error message below
CalledProcessError: Command '['C:\\Program Files\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe', '-size', '640x480', '-...
0
votes
1
answer
221
views
Problem with animated gif in android .net maui application
I am working on an image converter for android and using .net maui for application development.
One of the image conversion options is converting multiple images to animated gif.
When I install the ...
0
votes
0
answers
12
views
Animated-gif-lib doesn't work in regular condition
int delayMs = Integer.parseInt(m.group(1));
AnimatedGifEncoder e = new AnimatedGifEncoder();
e.start(Path.of(this.outputPath, name).toString());
e.setDelay(delayMs);...
2
votes
1
answer
104
views
Django api returns Gif as JPG despite a function to add it as video
I'm trying to upload a .gif to my django 3.2 api. I have already ran troubleshoots through Postman and came to the conclusion that my flutter app sends it as a .gif and it gets returned as a .jpg. The ...
0
votes
0
answers
13
views
Issues with geom_smooth and gganimate when creating an animtion
I am trying to generate a plot that represents the induction of specific markers over time. I have managed to generate a great core for singe markers. However, when creating the animation for all ...
0
votes
1
answer
60
views
Play animated gif on event in react web app
I'm trying to play an animated gif on a mousedown event in a React app, at the position of the cursor, then make it disappear.
The problem is that the gif doesn't always play, it just gets stuck at ...
0
votes
0
answers
24
views
jQuery Reloading Single Loop Animated Gif
I've built a banner that displays a different single-loop animated gif for each "slide" depending on if the slide on going in reverse or forward.
When the banner loops, I'm having difficulty ...
0
votes
1
answer
210
views
How to download tenor gifs via links using python
this is the method i am currently using
import requests
url = 'GIF-URL'
with open('downloaded.gif', 'wb') as f:
f.write(requests.get(url).content)
This seems to be working fine with other links, ...
0
votes
1
answer
282
views
Is there a way to download the gif from discord chat in the mp4 or gif format? I want my discord bot to download the last sent gif in chat
the code:
@client.command()
async def giffy(ctx):
channel = ctx.channel
async for message in channel.history(limit=100):
if message.attachments:
for attachment in message....
2
votes
1
answer
79
views
How to match Gif background color with Scaffold's color?
I am building an app so for the start I want splash screen to show up. I achieved this result by AnimatedSplashScreen package which is quiet convenient to work with. My splash screen is located ...
0
votes
1
answer
29
views
How to multiply a color over every frame of a gif using Imagemagick
I've been trying to write an imagemagick command that takes an input gif, composite multiplies every frame by a hex color specified in the command (on all channels including transparency), and then ...
0
votes
1
answer
50
views
How to create FuncAnimation (matplotlib) animation from plt.imshow and animate text in double for loop?
LONG POST: I know many posts are available on StackOverflow on a similar topic, but none worked for me so far. The animation is either not fast enough, or the text is animated (not how I want), but ...
1
vote
0
answers
93
views
Why does my animated gif not show up in mobile browsers, even with cleared caches, but only on Opera Desktop?
So i've been trying to get this gif to animate, it needs to be placed as an HTML embed, rather than uploading to webflow, to get around file size restrictions, otherwise the quality of the image is ...
0
votes
1
answer
89
views
How to send animated GIF from memory to FastAPI endpoint?
I'm trying to send a GIF from memory to my FastAPI endpoint, which works, but the gif isn't animated. When I save it locally instead the animation works fine.
I don't want to save the image, but ...
0
votes
1
answer
86
views
How do remove the flickering in this ImageMagick produced animation. Ive tried exactly as documented
How do I remove the flickering in this ImageMagick produced animation. Ive tried exactly as documented.
magick.exe -dispose none -delay 0 ./temp/0000.png -dispose previous -delay 9 ./temp/$($...
0
votes
1
answer
42
views
How to show GIF with Animation using GPHSettings & GPHMediaView in XML and kotlin
In my scenario when user click button it's navigate to next screen and If user click icon have to show Bottom sheet.
In the bottom sheet have to show GIF with it's animation.
And user can choose any ...
2
votes
1
answer
49
views
Why isn't the full palette being used in an animated gif?
I am making an animated gif of heatmaps using pillow. As there are a lot of different values and each frame can only have 256 colors I was hoping pillow would give me a different palette per frame. ...
0
votes
0
answers
23
views
Double-sided flipping invitation card for mobile/desktop users
How to create an electronic invitation card with flip page turning style.
I want to present double sided eCard to my guests rather then hard copy.
I may create 50 cards with each guest name printed on ...
0
votes
0
answers
46
views
How can I convert a periodically changing div in a react app to a gif format
I have a div in my react application that changes colour every second. How can I record just this div element for 5 seconds and save it as a gif:
import React, { useState, useEffect } from "react&...
0
votes
0
answers
90
views
How can I create a random pattern flashing at specific frequency in Python for GIF creation?
I am trying to write a code that creates a random pattern flashing (twinkling) at a specific frequency. Below is the code I am using, but the problem is that, different frequencies (frame rates) that ...
2
votes
0
answers
45
views
Why does gifs disappear before it loops again? there is a frame where after the gif animation is done it disappears and loops the gif again,
Why does gifs disappear before it loops again? there is a frame where after the gif animation is done it disappears and loops the gif again,
from ursina import *
app = Ursina()
enemy = Entity(model=...
0
votes
1
answer
182
views
How to add gif in react-native appplication
how to add gif in background in react native
How can I display an animated gif in react native. This is what I've tried.
0
votes
0
answers
45
views
Create and export an animated gif
I want to create animated GIF images for Machine Learning training
is there a way to create such gif images? (e.g. online tools, etc)
0
votes
0
answers
86
views
Montaging Animated GIFs
I have six gifs. They're the exact same dimensions (375x211), same duration, and same FPS. I want to be able to combine them to make a perfect 3x2 grid where they can all play simultaneously next to ...
0
votes
1
answer
52
views
Pixels are not rendered properly when rendering gif on canvas using konvajs
When I add GIF to HTML canvas using konvajs, many pixels of the GIF is not rendered properly.
https://konvajs.org/docs/sandbox/GIF_On_Canvas.html#page-title
This is the documentation from which I ...
0
votes
2
answers
164
views
Unable to get the GIF URL to loading when running the HTML code
Trying to get the GIF's to load on the HTML and can't get them to load
Example:
.img-1 {
background-image: url("https://giphy.com/gifs/cute-cat-big-lover-ZYKyJVeXiteqB5bbrl");
}
<div class="...
0
votes
1
answer
96
views
How to disable auto play for gifs in MD files?
I am currently composing a series of mark down files using Visual studio code. I would like to embed gifs to demonstrate key steps. It works great, but the gif auto plays (locally and when uploaded to ...
0
votes
1
answer
38
views
Highlight appearing elements
Not sure if there is a function that possibly highlights the element(border) that is appearing, let's say in red, and then has it change to a different color like black in the subsequent frames. Would ...
2
votes
2
answers
287
views
How to create an animated plot over the top of an image - Python
I am doing some work with a client where I would like to show a plot/route which is taken by an employee. I would like this to be animated based on a specific order so that I can demonstrate how many ...
0
votes
0
answers
73
views
Transparent background not working with GIF(Tkinter)
I seem to be having some problems getting the background of a gif to become transparent. I have attached the code below :
class MyLabel(Label):
def __init__(self, master, filename, delayms):
...
1
vote
1
answer
87
views
Fix plot position in a Gif - animate plot with dynamic axis labels
I am trying to make a gif(for each frame I want to plot the variable in the y axis, and the value in x axis), but bit struggled to fix the plot position since it will move once the length of the ...
0
votes
0
answers
59
views
Gif generated in Rust and sent to mms through twilio will not play on android phone
Okay I have an esoteric question that spans a lot of tech. I am generating a gif programmatically (in rust) and sending that over twilio mms. The gif reaches my android Galaxy A42 phone, but the gif ...
0
votes
0
answers
27
views
FFMPEG freezes last second when overlaying gif onto video
I add gif to video with this code:
(base) E:\>ffmpeg -i tt102e.mp4 -ignore_loop 0 -i e:\gals\flags\RoyaumeUni.gif -filter_complex "[1:v][0:v]scale2ref=oh*mdar:ih/5[ua][b];[ua]setsar=1,format=...
0
votes
0
answers
20
views
Can't see icon. Copied code from "https://realfavicongenerator.net/"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1....
-1
votes
2
answers
83
views
How to run gif one time in tkinter?
from tkinter import *
import time
import os
root = Tk()
frameCnt = 12
frames = [PhotoImage(file='mygif.gif',format = 'gif -index %i' %(i)) for i in range(frameCnt)]
def update(ind):
frame = ...
0
votes
0
answers
82
views
super gif is showing 2 iterations of the gif despite loop is set to off
Hi,
I have this code
function gifattack() {
var gifimg = document.getElementById('gifimg');
var rub = new SuperGif({ gif: gifimg, progressbar_height: 0, loop_mode:false } );
rub.load();
}
...
0
votes
2
answers
152
views
My code works with downloaded gifs, but not with the one I made, may anyone help me?
So I saw this code on YouTube, and wanted to try it, since I need animated gif in my program, I made a throwaway file to test if it works, and it works, but only on downloaded gifs. Though, I don't ...
1
vote
1
answer
193
views
Rendering .gif in Go
I am trying to get a code example to work. It is from 'The GO Programming Language' (https://github.com/adonovan/gopl.io/blob/1ae3ec64947b7a5331b186f1b1138fc98c0f1c06/ch1/lissajous/main.go). When ...
0
votes
0
answers
48
views
How to animate image by stacking them side by side in a row
I'm trying to build a swing application that shows images side by side one after another on click of a button. I'm using gif for animation since it's very easy but I could not find a way to custom gif ...
0
votes
0
answers
46
views
Displaying scatterplot points by points in jupyter notebook
I am trying to display a scatterplot points by points from two arrays :
x = [0,1,2,3,4,5,6,7,8,9,10]
y = [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]
I would like to display the point (0,0.5) and add ...