paper.js v0.12.12 Release Notes

  • ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix installation problems on Windows by switching from NPM to Yarn for development (#1833).

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change Item#raster({ resolution, insert }) to receive options object, while remaining backward compatible.
    • ๐Ÿ”„ Change Raster#smoothing to support the values 'low', 'medium', 'high' and 'off'. Setting to a boolean value is still supported, translating false โ†’ 'off' and true โ†’ 'low'.

    โž• Added

    • ๐Ÿ‘ Allow reusing of raster items in Item#rasterize({ raster }): By providing an existing raster in options.raster, the raster and maybe even its underlying canvas can be reused, as long as the rasterized size doesn't change between rasterizations. This allows for big performance improvements.