Skip to content
/ p8fy Public

Python package that allows to transform an image to use PICO-8's color palette.

License

Notifications You must be signed in to change notification settings

lui5fl/p8fy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p8fy

Python package that allows to transform an image to use PICO-8's color palette.

Installing the package

cd p8fy
pip install -r requirements.txt
pip install .

Usage

import p8fy

image = p8fy.image(path = "/path/to/image.png",
                   importable = True,
                   saturation = 2.0,
                   rgb_weights_preset = 0)

Examples

example0 example1 example2 example3 example4

License

Released under MIT license. See LICENSE for details.

About

Python package that allows to transform an image to use PICO-8's color palette.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages