ref: 0e8796746fad950ab61be075de5638fdcbd6fc32
dir: /words/
blie - blended layers image editor FILE FORMAT The "file" is a folder. this folder needs at least a single file "layers", which lists all the layers in order. Each layer has its own subdirectory named as the layer, with at least a file named "meta". The meta files looks like this: editor-type Label Drawop editor-type must be a valid editor module. At the moment, only p9 images are supported, which is "p9img". Label is a user label which should be displayed in the editor. Drawop is the drawing operation of that layer. It uses the names from draw(2), for example SatopD. All remaining lines are ignored. In addition to the "meta" file, the actual data of that layer should be stored in separate files. The p9 image editor "img" uses two additional files; both are p9 (rgb) images: - "img" is the image data of the layer, - "mask" is an optional mask which will be used for blending. In total, a sample structure could look like this: - /layers - /layerA/meta - /layerA/img - /layerB/meta - /layerB/img - /layerB/mask In this case, "layers" would look like this: layerA layerB and "layerB/meta" would look like this: p9img My fancy layer B SatopD