Skip to main content

Questions tagged [gif]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Animating GIFs as previews in File Manager "LF" or "ranger"

The desired behavior: When I'm using a file manager "LF" I would like to have animated GIFs as previews when I am over an image/gif mime-type file. What I actually had on mind was to convert ...
Noa's user avatar
  • 31
3 votes
4 answers
975 views

How can one count how many pixels a GIF image has via command line?

I use Ubuntu. I have a large number of GIF images. How can one count how many pixels a GIF image has via command line?
Franck Dernoncourt's user avatar
2 votes
1 answer
258 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 ...
milehigh 's user avatar
2 votes
1 answer
982 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 ...
Oo'-'s user avatar
  • 243
1 vote
1 answer
318 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....
Madhubala's user avatar
  • 304
2 votes
0 answers
721 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 ...
Nico Schlömer's user avatar
1 vote
1 answer
225 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 ...
NeutronStar's user avatar
  • 1,711
23 votes
4 answers
48k 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 ...
lash's user avatar
  • 739
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 ...
MHS's user avatar
  • 101
2 votes
1 answer
10k 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!
Aaron Franke's user avatar
3 votes
0 answers
279 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 ...
panzi's user avatar
  • 131
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 ...
G. Benosa's user avatar
1 vote
2 answers
554 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 ...
Pandya's user avatar
  • 24.9k
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 ...
user123456's user avatar
  • 5,088
1 vote
0 answers
203 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 ...
w-f's user avatar
  • 11
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?
voices's user avatar
  • 1,282
2 votes
1 answer
5k 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 ...
zadrozny's user avatar
  • 347
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$...
whitewings's user avatar
  • 2,457
10 votes
4 answers
43k 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
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 ...
Max Williams's user avatar
  • 1,117
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 ...
fronthem's user avatar
  • 5,127
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 ...
whitewings's user avatar
  • 2,457
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=...
whitewings's user avatar
  • 2,457
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 ...
Anko's user avatar
  • 4,556
9 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, ...
Vittorio Romeo's user avatar
112 votes
10 answers
115k 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....
blue's user avatar
  • 2,982
0 votes
2 answers
245 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 ...
Tegra Detra's user avatar
  • 4,996