Module Simantics/Image

This module is undocumented. This is a list of its definitions.

importImage :: File -> Resource -> <WriteGraph> Resource

importImage file library reads the contents of the given file and creates an image entity for it in the library, named after the file. Requires a write transaction and fails if the file cannot be read.