Questions tagged [gif-format]
Questions about exporting .gif files with various options, and handling the graphics to be exported in order to achieve the desired .gif
43
questions
8
votes
2
answers
350
views
Reverse the rotation of an animated gif and create a mirror image of it
I need Mathematica code to reverse the rotation direction and viewpoint of an animated GIF named "wheel." The current rotation is counterclockwise, and I need it to rotate clockwise while ...
3
votes
0
answers
180
views
Visualizing General Relativity Using Mathematica
There is an old layman method of visualizing General Relativity in which you assume the massive body to be placed on the top of large space-time fabric and the bending describes the effects of gravity,...
3
votes
1
answer
123
views
Optimized GIF 20s for 85kb for Mathematica Code Demonstration
I’m new here this is my first post on Stack Exchange. In the thread below, I see that a GIF file is highly optimized (20s for 85kb) with no noticeable compromise in resolution. It appears to be the ...
4
votes
1
answer
128
views
Importing and Exporting a GIF Slows Its Speed?
I have a GIF on my machine that I have imported via
gifLst = Import["/path/to/my/file.gif"]
When I then export it to the cloud, it gets slowed down in ...
4
votes
2
answers
211
views
How to export a rotating gif created by SliceDensityPlot3D/ [closed]
For example:
SliceDensityPlot3D[(x^2 + y^2 + z^2) Exp[-10 Sqrt[ x^2 + y^2 + z^2]], "CenterPlanes", {x, -.5, .5}, {y, -.5, .5}, {z, -.5, .5}]
2
votes
1
answer
169
views
GIF animation changing background unexpectedly
I have the following animation that I wish to export as GIF
...
0
votes
1
answer
97
views
How to get a gif from the Clock result?
I get a Clock graphics like
Dynamic@Plot[Sin[x], {x, 0, Clock[6]}, PlotRange -> {{0, 6}, {-1, 1}}]
But how to export a <...
2
votes
1
answer
149
views
How put a legend in an animation?
I wrote the following code for create an animation with legend: however I was not able to put the LineLegend command into the command Animate and so it seems that this is the reason for which I can't ...
16
votes
3
answers
824
views
Animated bar chart race, a popular data visualization
Recently I see more and more data-viz called "Animated bar chart race". Some random examples, and note, how smoothly and organically everything changes in these videos.:
https://flourish....
6
votes
2
answers
381
views
Olympic Athletics Track
Writing:
...
13
votes
1
answer
440
views
Export infinite looping GIFs by default
frames=Table[Plot[Sin[x(1+a x)],{x,0,6}],{a,0,2,0.2}];
Export["test.gif",frames]
The above code runs in version 9.0 to get a infinite looping GIF ...
1
vote
0
answers
207
views
Exporting to GIF doesn't work
I cannot export a list of images (or a single image) to GIF format. I use Win10 with Mathematica 9.0. It previously worked on an other device with Win7. I can also export an image to other formats, ...
3
votes
1
answer
148
views
Resizing Imported GIF Image
I have a gif image that I am trying to import into the Mathematica Notebook, and I found the accepted answer of this question very useful: Is it possible to insert an animated image into Mathematica ...
4
votes
1
answer
252
views
0
votes
1
answer
67
views
Why is Manipulation not creating a graph?
Why does manipulation not give a graph?
...
1
vote
1
answer
92
views
Comma separated images for .gif creation
I recently created a key frame animation using Mandelbulber 2.18-1. Each .png image was placed in a folder with known location. I then dragged all the images and dropped them into a Mathematica ...
2
votes
1
answer
317
views
ForwardsBackwards running of a gif in Export
I'm trying to export a gif from a list of images
The AnimationRepetitions command works, but the AnimationDirection does not. It just goes one way. Is there a way to loop back and forth?
Here's some ...
2
votes
1
answer
340
views
Flickering GIF in exporting Animation
I am trying to export an Animate object to a GIF file, but the saved GIF file keeps flickering. How do I fix this?
...
1
vote
0
answers
86
views
Flickering in GIF animation [closed]
Writing:
...
1
vote
0
answers
149
views
animated gif with music, sound or voice-over
I created a animated gif. This animation exist of 20 frames. The animation repeats after the last frame.
I want to add music,sound or a voice-over to this animated gif. Who has a suggestion to do ...
3
votes
1
answer
196
views
GIF output not animated
I think the current answer just creates a GIF but doesn't explain why LocalizeVariables -> False would cause an abnormal GIF to be exported. And I don't see any ...
5
votes
2
answers
335
views
Having trouble producing transparent GIF animation
I'm having difficulty producing a proper animated gif (for inclusion in a PowerPoint presentation). The code I have is this:
...
1
vote
2
answers
167
views
How to increase the speed on opening and playing gif?
I have a gif Example.gif, and would like to play it in a presentation. I used the following code:-
...
3
votes
1
answer
268
views
Overlap two images and give movement and the result record it in an animated gif
I need to put the circular image 1 in the image with the hole 2 (and cover the gap) the idea is to create an animated gif that shows the image 1 turning to the right and image 2 to the left in a size ...
11
votes
2
answers
348
views
Managing memory for video frames
I am trying to import a gif animation, which is about 80MB. The goal is to convert the image to grayscale, and then do some calculation on ImageData for each frame. ...
1
vote
1
answer
94
views
Import two Gif files together and play them with just one button
I have two gif files and I want to import and play them at the same time with just one play button. The target is to compare them easily. Is there any way?
7
votes
1
answer
278
views
How to make animated gif file play once in 11.3?
There is similar question here exporting-animated-gifs-animationrepetitions-1-doesnt-work
But the accepted answer there no longer works in 11.3, which is to use ...
0
votes
1
answer
494
views
Exporting a manipulate function as a .gif [duplicate]
How can I export this code:
Manipulate[Plot[a*Cos[2 Pi*x]*Exp[-(10^2)/x^2], {x, 0, 10}], {a, 1, 10}]
As a .gif that walks trough the values for $a$?
9
votes
1
answer
151
views
Quality of Graphics3D primitives in GIFs (V11)
Bug introduced in V11.1 and fixed in V11.2
What happened? Is this a regression or maybe some default options were changed?
Test case:
...
1
vote
0
answers
69
views
ManToGif code: how can I avoid time-reversal in the animated GIF? [duplicate]
ManToGif is a very useful function to create smooth animated GIF from aManipulate expression.
...
4
votes
1
answer
750
views
DisplayDurations doesn't work as I expected
I made a GIF animation by the following command. The duration of the created GIF was not 1/365 although I specified the option directive "DisplayDurations" to 1/365....
1
vote
1
answer
117
views
Importing a gif as an animation does not work in Mathematica 10.4
This code
Import["https://i.stack.imgur.com/wPp7l.gif","Animation"]
causes Mathematica 10.4 consume ever more memory, without showing the animation. It works in ...
17
votes
1
answer
6k
views
Create GIF looping animation
I created the GIF animation with the plot of a sinusoidal wave moving towards the LHS of the image, suggested here.
...
0
votes
0
answers
169
views
How to Rotate a 3DPlot with a dynamic controller and export in .gif or .avi? [duplicate]
I would like to have the following 3DPlot to Rotate around a vertical axis defined within the ...
16
votes
2
answers
2k
views
Why is my GIF shaky?
As you can see, the circles are shaking vertically as they approaching each other. Why is that?
The code:
...
4
votes
2
answers
956
views
Exporting an animation as a gif file [closed]
So, I have the code
...
0
votes
0
answers
242
views
Help creating a GIF of a rotating 3D graphics
I want to make a GIF of the image that I get from these lines. (It should be a vector field with the shape of a cylinder).
I added the command DynamicModule for ...
1
vote
0
answers
136
views
Problem with export gif [closed]
As never before trial, I wrote the following code:
frames = Table[ParametricPlot3D[{Cos[t], Sin[t], t}, {t, 0, a}], {a, .1, 6, .2}];
Export["trial.gif", frames]
...
4
votes
2
answers
445
views
How to make a photo into a looped ken burn? [closed]
I have a website that supports video background, I've always used static pictures, but would like to change them into looping ken burns style videos where the image's crop slowly drifts along a vector ...
1
vote
0
answers
64
views
Getting the colors right for a gif [closed]
When I'm exporting a list of images to a gif in Mathematica 9 I've encountered the problem that the colors are not obtained.
The images where made using Show, <...
4
votes
1
answer
2k
views
Add delay to the final frame of a GIF?
I'd like for there to be a pause during the final frame in my animation, before it loops.
Here's some tweekable starter code:
...
18
votes
2
answers
2k
views
How to obtain transparent animated gif via Export?
I have the following code to create animated GIFs:
...
0
votes
2
answers
269
views
Save a sequence of images using table with 2D variables [closed]
How can I save a sequence of images with 2D variables using Table into a gif file? I get an
...