Conversion utilities for the Commander x16
Project description
cx16-conv
Conversion utilities for the Commander X16.
Currently supported conversions:
- Graphics
- Palettes
Installation
Requires Python 3.8 or later.
pip install cx16_conv
Usage
Generating a palette
cx16-conv pal generate <image> <palette_file>
This command will extract all colors from the given image and save them to the palette file.
- If the palette file already exists, new colors will be added as needed.
- If the palette file does not already exist, an empty palette is created
Exporting a palette
cx16-conv pal export [-p palette_file] [-f format_spec] <output file> <symbol name>
Converts a palette file to various supported formats:
C-array(default)GPL(GIMP-formatted palette file)
If no palette file is specified, the system default palette is used.
Converting graphics
cx16-conv gfx [-p palette_file] [-f format] <image file> <output file> <symbol name>
Converts an image file to various supported formats:
C-array(default)
If no palette file is specified, the system default palette is used.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cx16_conv-0.1.0.tar.gz.
File metadata
- Download URL: cx16_conv-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f99218283943e209d97358e601d87c03c19cf141789b5e9cba5e8a7bfe626fbe
|
|
| MD5 |
54aab4c0792e0502e1497cc3860ca102
|
|
| BLAKE2b-256 |
f795ad18e47c86cc1b1cae07057510f42c76712524980e7c4945443f135df569
|
File details
Details for the file cx16_conv-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cx16_conv-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
977430812dbc8df13545b3ce37b48b9403cfaf0af82b430f3b3172784fae1847
|
|
| MD5 |
4a173a2230ab1fdb4c79d59b9e258d35
|
|
| BLAKE2b-256 |
f38b37d45780267baccebc8166687bceb5442fbc110e65154a7b4229c45156d2
|