blurhash
This block is part of the files group and was last modified in core v15.0.0.
blurhash v15.0.0 Compute a blurhash placeholder for the given images : a ~30 character string a client paints as a blur while the real image loads
In pins 3 + flow
- flow
flow - files required
fileThe images to hash
- components x
numberHorizontal detail, 1-9 (default 4). More components means a longer hash, not a sharper preview.
- components y
numberVertical detail, 1-9 (default 3)
Out pins 5 + flow
- flow
flow - hash
valueBlurhash of the first image : the common case, so it does not need an array index
- hashes
arrayOne blurhash per image, in input order
- success
conditionTrue if every image hashed. False if one or more failed
- errors
arrayError messages
- failed
fileImages which could not be hashed
A typical wiring for blurhash: a function trigger starts the flow; get file from assets feeds the file pin; the flow out pin feeds debug.

Version history
Introduced in v15.0.0.
Back to
files Return to the main group to view all sub-groups Back to images Return to the group to view all blocks within this group
