Skip to main content

Python library that paints an image on a spreadsheet or builds its pixel art in Minecraft.

Project description

Unexpected Image Saves

PyPI version PyPI - Downloads License Code style: black

Unconventional ways to save an image :smile:

Have you ever been bored by the same old .png, .jpg, .jpeg, .gif and all other image extensions? Have you ever wanted something different - goofy - but also clever? Then this is the package for you! :sparkles:

What does this package do :thinking:

With this package you can save any image opened with the PIL.Image module on a given path as a

  • Spreadsheet;
  • Minecraft Pixel Art Datapack.

How to use it :computer:

First you install it in your environment like this

pip install unexpected-isaves

Then you can start using it already! Open any image you've got locally with PIL and try to save it using our functions!

from unexpected_isaves import save_image
from PIL import Image


save_image.to_excel(
    image=Image.open("my_image.png"),
    path="/home/user/Documents/my_image.xlsx"
)

Why unexpected-isaves?

You might be wondering: why would I ever need such a useless lib? The answer is: you wouldn't. This lib was created for learning purposes, and it was never my intention to make it useful. It might be a nice way to impress your friends on your Minecraft server, or to make an important presentation lighter with a fun spreadsheet art, though. Be creative!

Contributing :pencil:

Just like Minecraft, everything's better when shared and built together.

Contributions are welcome and appreciated. Make sure to read our guide for contributing and don't forget to check out our code of conduct.

Have fun!

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

unexpected_isaves-1.2.0.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

unexpected_isaves-1.2.0-py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 3

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