The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [gif]

The tag has no usage guidance.

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

GStreamer: APNG, GIF or animated WebP

I want to generate an animated preview of a video using gstreamer for preview on a webpage. I'm able to get a static PNG with the pipeline filesrc location=... ! decodebin ! videoconvert ! pngenc ...
2
votes
0answers
179 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
1answer
42 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 ...
6
votes
2answers
2k 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
1answer
438 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
1answer
4k 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!
2
votes
0answers
138 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 ...
2
votes
2answers
3k 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
2answers
416 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
0answers
563 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
0answers
61 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 ...
2
votes
1answer
3k views

Converting asciinema output to gif

Can I convert a .json file; generated by a program like asciinema; into an animated .gif?
2
votes
1answer
2k 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
4answers
1k 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$...
5
votes
3answers
18k views

What viewers can play gif animated images?

I don't seem to have on a Fluxbox Manjaro an image viewer that can play the 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 ...
12
votes
3answers
2k 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
1answer
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 ...
1
vote
1answer
781 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
0answers
1k 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=...
55
votes
5answers
25k 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 ...
4
votes
2answers
3k 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, ...
40
votes
8answers
42k 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
2answers
127 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 ...