Skip to main content

Module image

Module image 

Source
Expand description

The image operations.

Functions§

add
Add an image to a project. The extension is jpg, jpeg, png, webp, or svg, and must match the image.
delete
Delete an image for good, first taking it out of every entry and text that uses it, and the project cover.
get
One image’s name, extension, and bytes.
list
A project’s images, with whether anything in the project uses each one.
rename
Rename an image.
replace
Replace an image’s bytes, keeping its id, so everything that uses it shows the new image. The extension is jpg, jpeg, png, webp, or svg, and must match the image.