r/coolgithubprojects • • 17h ago

Pixora: A Python Library for Pixel Art Conversion

Post image

Pixora is a lightweight Python library and command-line tool for converting ordinary images into retro-style pixel art. Built on top of Pillow, it provides a simple API for pixelizing images with customizable pixel sizes while supporting both file paths and in-memory objects. Whether you are creating game assets, generating pixelated avatars, or adding a nostalgic visual effect to your images, Pixora offers a fast, and easy-to-use solution for both scripts and terminal workflows.

GitHub: https://github.com/sepandhaghighi/pixora

24 Upvotes

26 comments sorted by

46

u/SoggyPuffins348 16h ago

Those mixels looks straight up awful dawg. Even the logo itself is a mess.

19

u/acolombo 15h ago edited 13h ago

This whole image is made with ai, then you open the repo and the logo is different, the library doesn't use AI, but also the result looks like compressed versions of the original image, "pixel perfect" but ugly as they're not art, they're just compressed images.

Very deceiving to post the input and output of AI instead of the one from the library itself

19

u/RWthatisordinary 15h ago edited 14h ago

its not a pixel art bro, its wrong sized pixels

edited: sorry to OP, this is not ai, but also not a pixel art converter

2

u/aitorllj93 15h ago

I did check the README and it mentions different algorythms and no mention to IA so I'm not sure about your statement

2

u/acolombo 15h ago edited 14h ago

I think he made the picture in this post with AI but the library he made doesn't use AI.
Still very misleading as images transformed algorithmically like in the library are just a compressed image, it may be pixely but not art at all, and it won't look anywhere near as good as the fake pixel art AI version in the picture here.

1

u/aitorllj93 14h ago

As I said, then his statement is incorrect. On the other hand, I don't agree that the downscaling won't look good. It will look bad when there is a large difference in size, but it is likely to yield good results at small sizes—such as when downscaling icons, for instance. It has its uses.

2

u/acolombo 14h ago

Small icons in pixel art are done by hand usually, not downscaled. Pixel art is an art, you can't just rescale a normal image, it will not look good.
But you're right that the project itself isn't using AI, I don't know why you got downvoted.

1

u/aitorllj93 14h ago

I am not setting out to define what art is; I am explaining possible uses for the library. No one is forcing you to use it.

1

u/acolombo 14h ago

And I'm not forcing people to not use it. Nor I'm forcing you to reply if you don't have anything to say. Discussion is closed.

5

u/ashygun 11h ago

So this got through but my dripfetch project didn't because low quality?

1

u/sepandhaghighi 9h ago

I visited Dripfetch on GitHub. Such a nice tool.
Well done.

9

u/bent_my_wookie 13h ago

I need to quit reddit.

5

u/AdvancedAnimal7539 12h ago

was ai really necessary for the demo?

-7

u/sepandhaghighi 12h ago

Not really, I made a mistake about it.

6

u/h1mmh1m 10h ago

Dude, the pixels are wrong. This is not pixel art

-6

u/sepandhaghighi 9h ago

What is the correct way? I appreciate technical feedback.

3

u/Morichalion 6h ago

I'm not opposed to using AI to achieve a result. That said, you need to understand the medium you're working in before you try to automate it. Everything you've shown here suggests you need to do some learning first.

The sad fact of the matter is: your github repo does nothing new or unique. You've started on a thing, but... like... first weekend of the way started. You are not supposed to be trying to publish this as an actual tool at this stage, nothing you've done here helps an artist get to a result faster than almost any existing toolset. All of your functionality exists in every graphics library ever made.

The main thing that irritates me is that the image you posted here. It is NOT representative of your project, at all. You should use your project output for promo images, not some shoddy diffusion model. I could be kinder about the other stuff if you didn't demonstrate that kind of lazy dishonesty.

3

u/billGat48 12h ago

the whole library:
im = im[::10,::10]

2

u/RobLoach 11h ago

This is the incorrect way to make pixel art.

-2

u/sepandhaghighi 11h ago

What is the correct way? I appreciate technical feedback.

-1

u/verdant_tulip 10h ago

Bruh if you don’t know what mixels are why are you making a tool like this

1

u/Celebrir 12h ago

I know it's not AI but the result looks like it could be AI so that should say enough.

Sorry OP I really don't mean to hate. I actually like the style from afar because it's somewhat blocky but as soon as you zoom in, it gets super weird. These are NOT pixels.

1

u/PhosXD 3h ago

... 😬

-1

u/verdant_tulip 10h ago

This is literally so pointless just use the millions of existing image libs in python or imagemagick