Liking cljdoc? Tell your friends :D

blurhash.encode


convert-to-linearclj/s

(convert-to-linear image)
source

encodeclj/s

(encode image)
(encode image comp-x comp-y)
(encode image comp-x comp-y linear)

Encode the pixel matrix into a blurhash. Optional args: comp-x and comp-y - x and y component counts. Defaults to 4 for both. linear - whether the image is encoded in linear format (0.0-1.0 floating point values). Defaults to false.

Encode the pixel matrix into a blurhash.
Optional args:
  comp-x and comp-y - x and y component counts. Defaults to 4 for both.
  linear - whether the image is encoded in linear format (0.0-1.0 floating point
  values). Defaults to false.
sourceraw docstring

encode-ac-valuesclj/s

(encode-ac-values components ac-component-norm-factor)
source

encode-componentclj/s

(encode-component i j height width norm-factor image-linear)
source

encode-componentsclj/s

(encode-components comp-x comp-y height width image-linear)
source

encode-dcclj/s

(encode-dc component)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close