Skip to content

v0.12.12

Compare
Choose a tag to compare
@lehni lehni released this 12 Mar 23:26
· 57 commits to develop since this release

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.