Skip to content

Converts any image format understood by PILLOW into a MicroBitImage

License

Notifications You must be signed in to change notification settings

miawgogo/MicrobitImageConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microbit Image converter

A small command line utility for converting images into a MicroBitImage.

Example output

MicroBitImage north("0,0,255,0,0\n0,255,255,255,0\n255,0,255,0,255\n0,0,255,0,0\n0,0,255,0,0\n");

The variable name is based off of the file name

Installing

# python3 setup.py install

Usage

usage: mBitImageConverter [-h] [--BW] FILES [FILES ...]

Coverts Images to MicroBitImage.

positional arguments:
  FILES       a list of images to be convered

optional arguments:
  -h, --help  show this help message and exit
  --BW        converts the images to black and white

About

Converts any image format understood by PILLOW into a MicroBitImage

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages