Liking cljdoc? Tell your friends :D

hive-gimp.verbs.image

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.
raw docstring

get-by-idclj

(get-by-id id)

The image with id id, or nil.

The image with id `id`, or nil.
sourceraw docstring

get-by-nameclj

(get-by-name image-name)

The first open image named image-name, or nil.

The first open image named `image-name`, or nil.
sourceraw docstring

get-imagesclj

(get-images)

Every open image, as Refs.

Every open image, as `Ref`s.
sourceraw docstring

get-layer-by-nameclj

(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.
sourceraw docstring

get-layersclj

(get-layers image)

The top-level layers of image, top first.

The top-level layers of `image`, top first.
sourceraw docstring

get-selected-layersclj

(get-selected-layers image)

The layers selected in image.

The layers selected in `image`.
sourceraw docstring

get-sizeclj

(get-size image)

The canvas Size of image.

The canvas `Size` of `image`.
sourceraw docstring

new-imageclj

(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`.
sourceraw docstring

NewImageclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close