PURE. Verbs over GIMP images: create, list, find by id or name, size, and their layers. Each answers a vector of hive-gimp.py forms whose last form is the value the program answers.
PURE. Verbs over GIMP images: create, list, find by id or name, size, and their layers. Each answers a vector of hive-gimp.py forms whose last form is the value the program answers.
(get-by-id id)The image with id id, or nil.
The image with id `id`, or nil.
(get-by-name image-name)The first open image named image-name, or nil.
The first open image named `image-name`, or nil.
(get-images)Every open image, as Refs.
Every open image, as `Ref`s.
(get-layer-by-name image layer-name)The layer of image named layer-name, at any depth, or nil.
The layer of `image` named `layer-name`, at any depth, or nil.
(get-layers image)The top-level layers of image, top first.
The top-level layers of `image`, top first.
(get-selected-layers image)The layers selected in image.
The layers selected in `image`.
(get-size image)The canvas Size of image.
The canvas `Size` of `image`.
(new-image {:keys [width height as] :or {as (quote hg-image)}})A new RGB image of :width x :height, bound to :as (default
hg-image). Answers its Ref.
A new RGB image of `:width` x `:height`, bound to `:as` (default `hg-image`). Answers its `Ref`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |