Questions tagged [gif]
The gif tag has no usage guidance.
25
questions
2
votes
1
answer
217
views
Merge a png on top of a gif with shell
I am trying to merge a png with a gif (put the png on top of the gif) and then have the result as a gif.
I played around with convert, but cannot quite get it to work the way I need it.
I have tried ...
2
votes
1
answer
915
views
ImageMagick refused to convert the animated GIF and killed the process silently due to CPU
I tried with these solutions below, but unsuccessfully:
ImageMagick convert problem, command killed or silently exits
Using disk for processing of huge images
ImageMagick convert out of memory
...
1
vote
1
answer
296
views
Why this GIF isn't playing smoothly?
in.gif (814KB)
in.jpg (1.03MB)
Commands i used to generate a gif -
convert -coalesce "in.gif" "0.png"
for file in 0*.png
do
composite -gravity center "$file" in....
2
votes
0
answers
690
views
Create small high-quality GIF/APNG from a bunch of PNGs
I have 50 PNGs (like those ones here) and I would like to create a GIF (or APNG) animation from it that approximately retains the quality and is small.
What I'm doing so far is to rescale and throw ...
1
vote
1
answer
198
views
How to get convert to not interpolate pixels?
I am using ImageMagick's convert to convert a bunch of .fits files (an image format used in astronomy) to an animated .gif. My astronomical images are pretty low resolution (150 x 300 pixels) but ...
22
votes
4
answers
46k
views
webp animation to gif animation (cli)
I was surprised today to find apparently how difficult it is to go from a webp animation to gif animation. My GIMP 2.8.22 and ImageMagick 7.0.7-21 on linux 4.14.13-1-ARCH don't seem to support the ...
0
votes
1
answer
2k
views
How to create a tiled gif (repeating the same small gif image in a tiled background)
I have a gif image with a rather low resolution (500x200 pixels) which I would like to use to tile a wallpaper background (size 1920x1080 etc.) showing the same frame (or a different frame) on all ...
2
votes
1
answer
9k
views
In XFCE, how do I set an animated GIF as a desktop background?
This should be a simple task, but I can't figure out a way to do this!
3
votes
0
answers
258
views
ImageMagick: PNG to GIF: make any not completely transparent pixel solid
I'm trying to create a GIF animation from a set of transparent PNG images in various resolutions. When I -resize the edges are aliased. The background is probably quite predictable so I could make it ...
6
votes
3
answers
7k
views
Merge three .gif animations
I have 3 .gifs animations and I just want to merge them temporally.
Say
g1.gif contains images 1,2,3 sequenced as so
g2.gif contains images 4,5,6 sequenced as so
g3.gif contains images 7,8,9 ...
1
vote
2
answers
547
views
`convert`ing *.gif to file.pdf hangs/freezes the system
I've 415 gif files in a directory and trying to make a single pdf of them by using the following command:
convert /path/to/*.gif file.pdf
But it cause for hanging/freezing of the entire system. In ...
1
vote
0
answers
2k
views
How to open a gif without loop repetition with oeg
I use to open .gif file with
eog -f myfile.gif
The gif animation is however running in loop.
What I want is to display the animation once and then quit.
How to avoid this?
Please also help in ...
1
vote
0
answers
192
views
Identify (and delete) all .gif files with more than 1 frame in all subdirectories
I having the following linux command to identify all .gif files and list its frames in the active directory:
identify -format '%n %i\n' -- *.gif
Now I want to modify and expand the command to ...
6
votes
1
answer
6k
views
Converting asciinema output to gif
Can I convert a .json file; generated by a program like asciinema; into an animated .gif?
2
votes
1
answer
4k
views
Creating a GIF animation from PNG files while constraining GIF size
Is there a way, perhaps with ffmpeg or convert, to constrain the size of a GIF created by stitching PNG files?
This answer (Creating a GIF animation from PNG files) does not address this, and ...
3
votes
5
answers
3k
views
Loop MP4 From Converted Animated Gif
How do I convert animated gifs to mp4s that loop?
This command successfully converts the gifs to mp4s, but the loop doesn't appear to work:
for i in *.gif; do ffmpeg -f gif -i "$i" -loop 0 "0output$...
10
votes
4
answers
40k
views
What viewers can play GIF animated images?
On Manjaro running Fluxbox, I don't seem to have an image viewer that can play animated GIF files.
I think that Gwenview can and I have it on my KDE system. But on a Fluxbox system I would like to ...
13
votes
3
answers
4k
views
Find all animated gif files in a directory and its subdirectories
let's say that i've done a find for .gif files and got a bunch of files back. I now want to test them to see if they are animated gifs. Can i do this via the command line?
I have uploaded a couple ...
0
votes
1
answer
3k
views
Why convert .GIF to .MP4 file using by ffmpeg on Mac OSX got .MPEG4?
ffmpeg -i original.gif -r 10 outfile.mp4
According to command above, I've got outfile.mp4 but when clicked to see the information of file, i see it's actually a .MPEG4 file and the icon of file is ...
1
vote
1
answer
1k
views
Convert Multiple Videos to Multiple GIFs
What command will convert multiple video files to multiple GIFs?
I use the following command to convert 1 video to GIF:
ffmpeg -i input.flv -vf scale=320:-1 output.gif
I assume I'll need a bash ...
2
votes
0
answers
2k
views
Convert images and animated gifs to video
I use the following FFMpeg command to convert images to video.
for file in %N; do ffmpeg -framerate 15 -pattern_type glob -i '*.jpg' -vf "scale=min(1920/iw\,1920/ih)*iw:min(1920/iw\,1920/ih)*ih,pad=...
65
votes
7
answers
30k
views
GIF screencasting; the UNIX way
To take a static screenshot of a selected part of my screen, I often use scrot with -s shot.png. This is great for adding illustrations to StackExchange posts. I even found this script to ...
8
votes
2
answers
7k
views
Remove nth frames of a gif (remove a frame every n frames)
I've recorded a .gif of the screen with ffmpeg. I've used gifsicle and imagemagick to compress it a bit, but it's still to big. My intent is making it small by removing, say, a frame every 2 frames, ...
109
votes
10
answers
108k
views
shell command to get pixel size of an image
Is there a shell command that returns the pixel size of an image?
I'm trying to produce an animated gif starting from different gifs with different sizes using convert (e.g. convert -delay 50 1.gif 2....
0
votes
2
answers
211
views
creating gif animations
I read some where it was possible to create a gif by adding frames to it in a browser. Does that mean on the server you can add frames to it by using cat?
Are there other file types that are so ...