![]() This reduced my animation down to 27kB! Job done. It works in a pipeline so you have to call it like this: gifsicle -O3 compressed.gif Gifsicle is good at creating and manipulating GIF animations. The \1\2\3\4\5\6 option, for example, tells gifsicle to interlace its inputs: gifsicle -i < pic.gif > interlaced-pic.gif.The gifsicle package contains two other programs: gifview, a lightweight GIF viewer for X, can show. Gifsicle normally processes input GIF files according to its command line options and writes the result to the standard output. On my system it took 0.04s, time well spent! Gifsicle manipulates GIF image files on the command line. It has 3 levels: the man page warns you that the third, most aggressive option might take more time. One of the things it can do is optimise animations. A tiny program which does things flexibly. Reducing filesize with gifsicleĪvailable from Debian/Ubuntu standard repositories, gifsicle is a brilliant example of what makes GNU/Linux so great. I removed the GIF comment (every byte counts!) and set the default frame delay. The next dialog box offers various other options. gif A pop-up includes the option " Save as Animation", tick this. To do this I changed the layer name to include (1400ms) so the layer was now called background (1400ms) - you can do this for any of the layers, but all the others I wanted to share the default.Ĭreating the animated GIF is the easiest bit. ![]() I wanted the first frame to linger longer than the others. useful when it is not easy to syncronize the names of the files with the. The first frame becomes the 'background' layer, with the other frames on top. put all the GIF images, appropriately named so that they fall in the correct. from the File menu, and selected all the frames (in order). To do this I started Gimp, then chose Open As Layers. ![]() Next I imported the frames into Gimp (Gimp is available for Windows, too). So then I Exported the page, frame by frame to frame-1.png, frame-2.png. Obviously this is only useful for very simple animations, but I needed to keep changes between frames to a minimum to keep the file size down anyway. Each frame was a different layer I could turn off and on layers one at a time to edit the separate frames. I designed the animation in my favourite vector drawing package, Inkscape. Animated GIFs are a 90s hangover that will not go away! I was asked to make an animated banner 728×90 at under 50kB. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |