polotno-node 3.6.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -262,6 +262,13 @@ const url = await instance.jsonToDataURL(json, { pixelRatio: 0.2 });
262
262
  // const url = await store.toDataURL({ pixelRatio: 0.2 });
263
263
  ```
264
264
 
265
+ ### Downscaling quality
266
+
267
+ Raster images displayed below their source size are automatically resampled
268
+ with Magic Kernel Sharp during export — the resampler Facebook and Instagram
269
+ use — including `pixelRatio < 1` exports. For the best output, pass full-resolution
270
+ image sources in the design and let the export perform the one reduction.
271
+
265
272
  ### `attrs.skipDownloads` (video export only)
266
273
 
267
274
  By default, when exporting video and **only** when using the default local client (i.e. you did **not** pass `createInstance({ url })`), `polotno-node` will: