Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

v3.0.0

Latest
Compare
Choose a tag to compare
@joe-bell joe-bell released this 24 May 08:31
· 5 commits to main since this release
b2cb9cb

[email protected]: Final Release

Note

The plaiceholder project is feature complete and will now be kept in maintenance mode.

Read the migration guide for further information.

If this project has been useful to you, please consider sponsoring my work 🖤

Features

  • New color return for getting an image's "dominant" color
  • New pixels return for getting each raw pixel's rgba values
  • Transparent images no longer have their alpha channel removed by default
  • Support for EXIF orientation (via autoOrient option)
  • New and improved docs

Breaking Changes

Read the migration guide for further information.

  • ESM only
  • File paths or external URLs are no longer supported – getPlaiceholder now expects a Buffer
    (see the migration guide for examples)
  • blurhash no longer returned
  • imgmetadata

Note

If no major issues are reported in the coming weeks, this repository will be archived and issues closed.