Questions tagged [gif]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
40 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 ...
user avatar
1 vote
0 answers
462 views

Tools to manipulate and generate apng with good compression in linux command line

I have recently working with apng. But apngs are larger than similar gif. Also I cannot find a good tool to manipulate apng. ImageMagick produces png for all modification, like (-color 124). To ...
user avatar
2 votes
0 answers
491 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 ...
user avatar
2 votes
1 answer
121 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....
user avatar
  • 304
2 votes
0 answers
490 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 ...
user avatar
1 vote
1 answer
122 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 ...
user avatar
  • 1,521
18 votes
4 answers
29k 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 ...
user avatar
  • 669
0 votes
1 answer
1k 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 ...
user avatar
  • 101
2 votes
1 answer
8k 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!
user avatar
3 votes
0 answers
208 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 ...
user avatar
  • 131
5 votes
2 answers
6k 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 ...
user avatar
1 vote
2 answers
514 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 ...
user avatar
  • 21.8k
1 vote
0 answers
1k 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 ...
user avatar
  • 4,306
1 vote
0 answers
88 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 ...
user avatar
  • 11
6 votes
1 answer
5k views

Converting asciinema output to gif

Can I convert a .json file; generated by a program like asciinema; into an animated .gif?
user avatar
  • 1,102
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 ...
user avatar
  • 317
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$...
user avatar
  • 2,243
9 votes
4 answers
33k 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 ...
user avatar
12 votes
3 answers
3k 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 ...
user avatar
  • 1,027
0 votes
1 answer
2k 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 ...
user avatar
  • 4,679
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 ...
user avatar
  • 2,243
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=...
user avatar
  • 2,243
64 votes
7 answers
29k 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 ...
user avatar
  • 4,356
6 votes
2 answers
6k 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, ...
user avatar
94 votes
10 answers
87k 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....
user avatar
  • 2,522
0 votes
2 answers
161 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 ...
user avatar
  • 4,688