This reduced my animation down to 27kB! Job done.GIMP is a versatile graphics manipulation package. It works in a pipeline so you have to call it like this: gifsicle -O3 compressed.gif On my system it took 0.04s, time well spent! 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. The first frame becomes the 'background' layer, with the other frames on top. 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 |