Skip to main content

Converts images to GameBoy tileset

Project description

Build Status PYPI Version License

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.

./doc/_static/banner.png

Dependencies

  • Python 2.7 / 3.5

  • Pillow

Install

Usage

Changelog

  • 1.1.0:

    • Removes arbitrary size limit for tilmaps

    • Implements offset option (#2)

  • 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

img2gb-1.1.0.tar.gz (12.2 kB view details)

Uploaded Source

File details

Details for the file img2gb-1.1.0.tar.gz.

File metadata

  • Download URL: img2gb-1.1.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for img2gb-1.1.0.tar.gz
Algorithm Hash digest
SHA256 62279641e8fe9433e9bff6c991ca0c9fdf90d871be9902b80adf5bfcd205fb1c
MD5 0a47157947671631a579d509003311aa
BLAKE2b-256 8c95884c6ab7207e04895bdd15cbf368c1a7f412abe6475d373ebf1de6337a24

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page