![]() In this tutorial, you will need three tools to follow along with the examples. Step 1 - Installing ffmpeg, Gifski, and Gifsicle You will also need to have installed the Homebrew package manager to install one of the tools in this tutorial. You can set this up by following our guide on Initial Server Setup with Ubuntu 22.04. This tutorial will provide installation instructions for a Ubuntu 22.04 server. You can also combine these tools to integrate into another application stack. In this tutorial, you will try out several tools for creating GIFs from video clips, optimizing them for size and quality, and ensuring you can use them in many contexts. This can be handy for everything from reaction images to interactive fiction development or other presentation formats. Because of the way the web and other applications work, that means they will render and animate automatically in many more contexts, and do not need to be embedded or linked separately. However, GIFs are still useful because they are considered images and not videos. The CPU overhead of a low resolution GIF with only a few frames of animation is negligible, but you could technically create a GIF with a comparable resolution and framerate to a YouTube video, and you would be surprised by how many of your system resources it consumes. GIFs, on the other hand, are always decoded directly with the CPU. Codecs are used to encode and decode videos, and most platforms have dedicated hardware to play those codecs. This is because most web video uses modern video compression technologies and more popular modern codecs than GIF. GIFs are actually an old technology, and they are now less efficient than embedding web videos in many contexts. Unlike JPG and PNG, GIFs can contain multiple frames of animation, and the humble “animated GIF” is a ubiquitous building block of the internet. -O3: this sets the optimization level to Gifsicle's maximum, which produces the slowest but best results.Along with JPG and PNG, GIFs are one of the most common image formats that have been circulating since the 1990s.You'll find more info on that in this excellent blogpost by Sara Soueidan. Please be aware that SVGO can break your svg. SVGO's default configuration will be used, with the omission of the cleanupIDs plugin because that one is known to cause troubles when displaying multiple optimized SVGs on one page. -o2: this set the optimization level to two (multiple IDAT compression trials). ![]()
0 Comments
Leave a Reply. |