https://github.com/skythecodemaster/sanjuuni-server
https://github.com/skythecodemaster/sanjuuni-server
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skythecodemaster/sanjuuni-server
- Owner: SkyTheCodeMaster
- Created: 2023-06-02T20:26:31.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-26T20:52:48.000Z (almost 3 years ago)
- Last Synced: 2025-03-30T16:32:07.674Z (about 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sanjuuni-server
## A free, opensource sanjuuni server.
How to use:
POST to `/convert` with the following JSON:
```json
{
"url":"url of image to convert", // OR
"data": "base64 bytes of image to convert", // One or the other, not both.
// Sanjuuni options (ALL OPTIONAL)
"dithering": "none", // None default, options: "threshold","ordered","lab-color","octree","kmeans","none"
"binary": false, // Boolean, whether or not returned file is binary.
"width": 51, // Resize image to this width/height
"height": 19,
"cc-palette": false, // Boolean, whether or not to generate custom palette, or use CC colours.
"format": "bimg" // String, blit default, options: "bimg","nfp"
}
```
The server will process and then return a **blit image (bimg)** of the input image.