Skip to main content

ImageGoNord - RGB image and video to any kind of palette or theme

PyPI - Python Version PyPI license Join the community on Spectrum

A tool that can convert your rgb images to nordtheme, gruvbox, catpuccin and many more palettes. Video included.

This repository is a python package.

You can find a demo on the website for testing out the package. The main repository of this whole project is ImageGoNord.

It's including an API layer, in case you'd like to set it up also for your project.

Documentation

You can find the documentation into this repository and also on the website. If you have any questions, please reach us at us@schrodinger-hat.it

Inspiration

We are in love with Nordtheme, that is why we created this repository.

Our goal is to make a shortcut to convert anything into any kind of themes, by starting from the images and going to videos.
An example could be an awesome wallpaper converted into the Nordtheme palette.

We checked the commnunity and we did not find anything similar or any project that can accomplish this task. So, here we are.

Of course, we resolved the issue for any kind of palette, theme and it's video supported.

What you can do with this package

You can convert any image into the nord palette (or others). Here are some examples:

Original

Original

Processed with avg algorithm

Original


Original

Original

Processed with avg algorithm

Original

ImageGoNord with AI - PaletteNet

We implemented the PaletteNet model with PyTorch based on this implementation. Inside that repository you could find the paper, in case you'd like to develop and train your model.

There is a lot of room for improvement as the shape of the input is reduced to only 6 colors.

Here are some results that you could compare with other. On our point of view, AI model it seems working great with wallpaper.

Original

Original

AI processed - Aurora palette from Nordtheme

Converted


Original

Original

AI processed - Nordtheme

Converted


Original

Original

AI processed - Nordtheme

Converted


You can also convert videos into the nord palette (or others). Here is an example:
Original

https://github.com/05Alston/ImageGoNord-pip/assets/89850018/76d4c4a6-9660-4a02-9f46-e5f3f6d0147a

Processed with algorithm

https://github.com/05Alston/ImageGoNord-pip/assets/89850018/13822280-c019-49b1-92f7-7c658b33a01d

Core Technical Concepts

We are using the PIL because it is the most simple library and it is very useful when you need to manipulate some images.

Our goal is also to make this project open source and maintainable by the community. We would love to.

We believe in the open source community.

Getting Started

Getting it from PIP

pip install image-go-nord

Then you can use some example to getting started properly!

Contributing

  • Follow the contributor guidelines
  • Follow the code style / requirements
  • Format for commit messages

Authors

TheJoin95 & Wabri

License

AGPLv3 license

Metadata

Release files for image-go-nord 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for image-go-nord 1.2.0
File Size Uploaded
image-go-nord-1.2.0.tar.gz 26.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for image-go-nord 1.2.0
File Interpreter ABI Platform
image_go_nord-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 55.5 kB

Release files / image-go-nord-1.2.0.tar.gz

Download URL image-go-nord-1.2.0.tar.gz
Size 26.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e156503d966d08b0e74d762672276cbf837698dd689424be4673e411db7c53c1
BLAKE2b-256 checksum
How to use checksums
c12856e2178a6f55dd045278b8cecd10f929f074012900448616133f36889855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / image_go_nord-1.2.0-py3-none-any.whl

Download URL image_go_nord-1.2.0-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76998131686152771faf38265eac343feb1fb897a32f878dde1fbc4c4d908cd5
BLAKE2b-256 checksum
How to use checksums
2e94d7ff3a8bbf565157f70ff05e7cc70bbdefe05c9a0960ab5b738b5d416199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page