Converts images to GameBoy tileset
Project description
img2gb generates GameBoy Tilesets and Tilemaps from standard image (PNG, JPEG,…). It converts the images into the GameBoy image format and generates C code (.c and .h files) that can be used in GameBoy projects.
Documentation: https://flozz.github.io/img2gb/
Dependencies
Python 2.7 / 3.5
Pillow
Install
Usage
Links
Examples of GameBoy programs that uses img2gb for graphics: * https://github.com/flozz/gameboy-examples/tree/master/05-graphics2 * https://github.com/flozz/gameboy-examples/tree/master/06-graphics3-background
Article about the tile encoding and img2gb: https://blog.flozz.fr/2018/11/19/developpement-gameboy-5-creer-des-tilesets/ (French)
Changelog
1.0.0: * Refacto of the Python API, with new high-level fuction to be easier to use * Refacto of the CLI: now tileset and tilemap are generated separately, this allow more options for both and covers more usecases. * New option to handle alternative palette * New option to handle 8x16px sprites * Documentation * Unit test (everything is not coverd but it is better than nothing :))
0.10.0: Adds non-RGB image support (indexed images,…)
0.9.1: Fixes an issue with Python 3
0.9.0: Initial release (generates tiles, tilesets and tilemaps)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file img2gb-1.0.0.tar.gz
.
File metadata
- Download URL: img2gb-1.0.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67f505720a85ef76a4eca521d59557b384e5677bcc7a25debd948f1a8c48e028 |
|
MD5 | d69dd5664e35a37452b5a3cf7bc5a57d |
|
BLAKE2b-256 | 8415d1a511bc688463795df01f3ae82f315c6bbaf5bae1677ba4cf6ecfd543a5 |