Puppet.load

Loads a puppet from a file.

class Puppet
@trusted
void
load
(
string file
)

Parameters

file string

path to the file.

Throws

'Exception' if the file header is not found / damaged, as well as if there is no image data. If you only need to load JSON data, then just use the 'parseJSON' function.

Meta