Skip to Content

Image analyzer

Stores image width and height to blob metadata.

Usage

Install analyzer and sharp packages

npm i @uplo/analyzer-image sharp

Add analyzer to Uplo

import { createAnalyzer } from '@uplo/analyzer' import { imageAnalyzer } from '@uplo/analyzer-image' const analyzer = createAnalyzer({ analyzers: [imageAnalyzer()], })
Last updated on