Module documentation.

Various utilities to read, write, and manipulate image data.

To use the plugin, add the following in build.settings:

plugins = {
  ["plugin.impack"] = { publisherId = "com.xibalbastudios" }
}

On Android, the AssetReader plugin may also be included to improve file-reading support:

plugins = {
  ["plugin.impack"] = { publisherId = "com.xibalbastudios" },
  ["plugin.AssetReader"] = { publisherId = "com.xibalbastudios" }
}

A require("plugin.AssetReader") will then install support. (Down the road, this will ideally be automatic.)

A sample project is available here.

This plugin is designed to be called safely from other Lua processes.

Modules

grayscale Operations to find and operate on grayscale values.
image Utilities for loading images.
ops An assortment of useful image operations.
write Utilities for writing images to files and memory.

Classes

SpotColor Wrapper over Spot's color class.
SpotImage Wrapper over Spot's image class.
generated by LDoc 1.4.6 Last updated 2018-09-03 18:10:24