Skip to main content

Create a palette preview image by using a simple config file

Project description

Create a palette preview image by using a simple config file

Usage:

  1. pip install prev_gen
  2. Open up the example to see how everything works (instructions in the file)
  3. Create a file based on instructions (or just edit the example)
  4. Run that file to start the app

You can also import the package and use it in any of your code, simply pass an appropriate palette to the Preview class and you will get a pillow Image back. Simple as can be!

Example:

Inspired by the great Gruvbox theme, where even the preview is impressive
And so, below is the Gruvbox palette preview recreated with this app example

Links:

Changelog

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

prev_gen-1.0.2-py3-none-any.whl (28.8 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