SkillAgentSearch skills...

Pic2Pix

A script to process pictures/drawings of people to turn them into sprites usable in 2d game engines like GameMaker

Install / Use

/learn @BobDev94/Pic2Pix
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Pic2Pix

A script to process pictures/drawings of people to turn them into sprites usable in 2d game engines like GameMaker

A basic demo of what you can expect this script to do: Please note that the script expects the part to be extracted to be in the middle of the image. It samples the edges to determine the range of pixels to be filtered out, so if the edge corners are covered by the parts to be extracted, you'll have issues.

Capture

               |
               V

Sprited

The background doesnt have to be a perfect green screen. so long as it is distinct from the target, and is somewhat uniformly colored, it will be filtered out. The target shouldnt be similar in color to the background; if it is, you'll see parts of the target parts filtered out

Try turning yourself into a sprite!

The default color palette in the code is fantasy24 on Lospec

For pencil drawings and doodles, anything with just a single color, rename your image so it has "pencil" in the name

pencil

                |
                V
                

transparency_test1

Yes, I have the artistic ability of a drunk walrus. Hopefully, you're much better.

zom_idle

                |
                V

c2pixzom_idle

Related Skills

View on GitHub
GitHub Stars46
CategoryDevelopment
Updated6d ago
Forks3

Languages

Python

Security Score

90/100

Audited on Mar 26, 2026

No findings