

For an image format so popular, GIFs are horribly outdated and inefficient. GIFs have been around for as long as I can remember, and today they’re as popular as ever. SVG graphics are routinely smaller file sizes compared to their raster graphics brethren. One of the most important aspects of impacting web performance is the size of the used files on a web page. With SVG, you can combine different shapes, paths, and text elements to create all kinds of visuals and to be sure that they will look clear and crisp at any size. If you think about it, the instructions for creating a circle are the same whether you’re using a pen or a skywriting plane – only the scale changes. Under the hood, SVG uses shapes, numbers, and coordinates - rather than a pixel grid - to render graphics in the browser, which makes it resolution-independent and infinitely scalable.

The true value of SVG is it solves many of the most vexing problems in modern web development. This gives SVG flexibility and versatility that can’t ever be matched by traditional PNG, GIF or JPGs.
#Small animated gif icons code#
As it is human-readable, easily understood and modified, SVG code can be manipulated via CSS or JavaScript. Under the hood, SVG documents are nothing more than simple plain text files that describe lines, curves, shapes, colors, and text. SVG is a vector graphic format-based on XML and is used to display a variety of graphics on the Web and other environments. Turns out, this compression technique, coupled with animation, and the addition of transparency made GIFs particularly useful for displaying logos and simple animated icons with ~10 frames of images. Later, basic animation was added to the specs, which allowed for multiple images to be painted one after the other with a certain time delay. GIFs used a form of image compression (called LZW compression) which allowed for even large images to be downloaded in a short time, with slow bandwidth.

Ironically, even though I am calling GIFs inefficient today, the reason they got so popular back in the day (1987) is because they were efficient. It turns out that SVG was the one graphic format that most closely responds to current web development demands of scalability, responsiveness, interactivity, programmability, performance, and accessibility. Poorly supported and largely ignored for most of the 2000s, in 2017 all modern web browsers can render SVG – and most vector drawing programs export it. You can also use this tool to resize animated WebP, APNG, FLIF, and MNG files without losing animation, and any other common image type.Though it was conceived back in the late 1990s, SVG is, in many ways, the ‘ugly duckling’ file format that grew up to become a swan. You can select the action to perform if the aspect ratio of the source image and your chosen size does not match - center and crop the image, stretch the image to fit, or force the original aspect ratio. Gifsicle is usually the fastest tool and produces smaller files, but is designed for speed, not quality. Try different resize methods if you are not satisfied with the result. Some gifs may need the "coalesce" option (which removes all optimizations from frames) if other methods fail and the output image is flickering or has strange artifacts, but it may significantly increase file size and is very slow. GIF animation resizing is sometimes tricky, and you will probably have to choose between a smaller file size or image quality. Useful when you need to reduce GIF size or fit the image in specific dimensions.
#Small animated gif icons install#
Ezgif's online image resizer will resize, crop, or flip animated gifs and other images, with the same quality and speed as professional software, without the need to buy and install anything.
