Tags: beanigen/swww
Tags
0.4.0 * implemented the new transition effects * refactored socket code * refactored event loop initialization code, handling errors properly now * BREAKING CHANGE: we are using fast_image_resize to resize our images now. This makes resizing much faster (enough to smoothly play animations before caching is done), but it makes it so that the `Gaussian` and `Triangle` filters no longer exist. Furthermore, the filters `Bilinear` and `Mitchell` were added. * deleted previously deprecated `init -i` and `init -c` options
Changes * Limited image formats to: `gif`, `jpeg`, `jpeg_rayon`, `png`, `pnm`, `tga`, `tiff`, `webp`, `bmp`, `farbfeld` * Bumbed rust edition to 2021 * Our custom compression is now even faster * I did a rewrite of the way the code that handled animations was structed. This made caching a LOT faster, but it incurs in more memory usage, since we spawn an extra thread to make a pipeline. That said, since this also greatly simplified the code itself, I considered it an overall positive change. * Fixed a bug where the animation wouldn't stop until it had processed all the frames, even when it was told to. * Setting a custom names and stack sizes to our threads. The custom name will help in debugging in the future, and the custom stack sizes lets us push the memory usage even lower. * Did all the preparatory work for us to start writing new transition effects. Ideally they should come in the next version, which should hopefully also be our first release (since then I will consider swww to be pretty much feature complete).