@uplo/analyzer-image-blurhash
v0.25.1
Published
Maintainers
Readme
@uplo/analyzer-image-blurhash
Blurhash analyzer for Uplo. Stores image blurhash in blob metadata.
Installation
npm i @uplo/analyzer-image-blurhash sharpUsage
import { createAnalyzer } from '@uplo/analyzer'
import { imageBlurhashAnalyzer } from '@uplo/analyzer-image-blurhash'
const analyzer = createAnalyzer({
analyzers: [imageBlurhashAnalyzer()],
})You can configure blurhash size, xComponents and yComponents:
const analyzer = createAnalyzer({
analyzers: [
imageBlurhashAnalyzer({
size: 32,
xComponents: 4,
yComponents: 3,
}),
],
})Documentation
See the full docs at uplo.js.org.
