Socket
Socket
Sign inDemoInstall

rectify

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rectify

Bars generator


Maintainers
1

Readme

rectify image

rectify

rectify is a tiny Python package whose sole purpose of life is generating randomized images with colorful bars on a single-color background. Making, displaying and saving a picture like the one on the top of this page is as simple as:

from rectify.image import generate, save

picture = generate(900, 30, background=(30, 30, 30), colors='pastel')

picture.show()
save(picture, 'bars.png')

Or from the command line:

$ rectify -x 900 -y 30 -b '(30,30,30)' -c pastel -o 'bars.png' --show

Full documentation is available at jenx.gitlab.io/rectify.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc