https://github.com/ad-si/sif
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ad-si/sif
- Owner: ad-si
- Created: 2016-05-19T08:30:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-19T08:31:04.000Z (over 9 years ago)
- Last Synced: 2025-02-09T12:21:23.452Z (8 months ago)
- Size: 1000 Bytes
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# String Image Format
The string image format is a utf-8 based plain text image format.
This means it can be easily modified with any text-editor.## Specification
- Must start with a [YAML frontend matter](http://jekyllrb.com/docs/frontmatter)
- Should contain a `syntaxVersion` string
- Should contain `width` and `height` fields
- May contain a `viewport: ` field
- Each pixel must be one graphical UTF-8 character
- Each pixel may have a following UTF-8 character to improve readability
- Set `pixelSeparator: true` to use the default space separator
- Set `pixelSeparator: ` to use the `` as separator
- Image lines are newline `\n` separated
- May contain a `palette` field
- Only specified characters may be used for pixels then (others are ignored)
- May have an `encoding` field which specifies if pixels are only ASCII
or also UTF-8 characters.