BlurHash



This simple plugin will generate a BlurHash image from a given Craft asset. A BlurHash is a compact representation of a placeholder for an image - a blurred version of an image, useful for displaying whilst the full resolution image is loading.

The plugin supports the following features:

  • Converting an image Asset Element to a BlurHash string or rendering it as a BlurHash image data url.
  • Converting a BlurHash string to a BlurHash image data url.
  • Returning the average color of an image Asset Element or BlurHash string as a Craft ColorData object.

All functionality is available through Twig, GraphQL and through the plugin's Service Class.

For more information, head over to the plugin's documentation.


Licence 🌳

This package is Treeware. If you use it in production, then we ask that you buy the world a tree.
And why not? By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.


Free

Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


Information

  • Version 1.1.1
  • Last Update 11/29/2021
  • Active Installs 28
  • Compatibility Craft 3
  • License MIT
  • Categories Performance, Assets

Report an issue