(size-entity->configuration {:image-size/keys [width height algorithm quality]})
(transform file-entity size-entity)
Transforms a :file entity representing an image, using the configuration given by an :image-size entity. Saves the resulting image into the corresponding path, and returns given path (just returns the path if nothing has to be done)
Transforms a :file entity representing an image, using the configuration given by an :image-size entity. Saves the resulting image into the corresponding path, and returns given path (just returns the path if nothing has to be done)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close