PURE. Verbs that move images between GIMP and files: load any format GIMP
reads, save the .xcf (the editable source), export a .png. All run
non-interactively.
PURE. Verbs that move images between GIMP and files: load any format GIMP reads, save the `.xcf` (the editable source), export a `.png`. All run non-interactively.
(export-png image path)Export image as the .png at path. The image itself is unchanged.
Export `image` as the `.png` at `path`. The image itself is unchanged.
(file-load path {:keys [as] :or {as (quote hg-image)}})Open the image at path, bound to :as (default hg-image). Answers its
Ref.
Open the image at `path`, bound to `:as` (default `hg-image`). Answers its `Ref`.
(save-xcf image path)Save image, every layer and path intact, as the .xcf at path.
Save `image`, every layer and path intact, as the `.xcf` at `path`.
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 |