Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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 simple to work with? What would be something good to do to better understand file headers that is very simple and would help explore sending data over an arduino ( which is of course a seperate issue! ).

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Gifs cannot be manipulated in that way by appending. It's disappointing, I know. I'd written a detailed explanation of the file format here, but Wikipedia explains it better. This is why appending with cat doesn't work.

There aren't many "simple" formats, but I'd take a bet that .bmp is one of the simplest, containing a semi-raw pixel array and metadata.

share|improve this answer

To create an animated GIF using command line, I would use the excellent command line tools from the package Imagemagick:

convert -delay 10 *.gif animation.gif
share|improve this answer
obviously this is not a relevant answer – James Andino Nov 18 '12 at 10:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.