The code for serializing and deserializing Stipple Effect project files and palette files is maintained here, in its own repo, and included in Stipple Effect as a dependency. This way, other programs can easily import stip-parser
and save image data as a Stipple Effect project without being dependent on the entire Stipple Effect codebase.
import com.jordanbunke.stip_parser.ParserSerializer;
// ...
// 'state' is an IRState, 'filepath' is a Path
ParserSerializer.save(state, filepath);
import com.jordanbunke.stip_parser.ParserSerializer;
import com.jordanbunke.stip_parser.rep.IRState;
// ...
// 'content' is a String representing the contents of a .stip file
IRState state = ParserSerializer.load(content);
STIP Parser uses intermediate representation classes to represent Stipple Effect data types:
IRState
- Represents a project stateIRLayer
- Represents a layerIROnionSkin
- Represents an onion skin configurationIRPalette
- Represents a palette
The following programs rely on STIP Parser, and must import the library in order to be built from source:
You can download the library as a JAR by going to Releases. Unless otherwise specified by the release notes or the README of the program you are attempting to build, the latest release is likely what you are looking for.