Skip to main content

No project description provided

Project description

skia-gradient-array

Simple wrapper around Skia to generate a gradient image in numpy. It uses a skia.Surface with alphaType of skia.kUnpremul_AlphaType, so that it plays nicely with matplotib. Packages like cairo only supports alpha-premultiplied canvas, and things are not idea as Matplotlib does not support alpha-multiplied images. )

Installation

You can install using pip:

pip install skia_gradient_array

Development Installation

pip install -e ".[dev]"

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

skia_gradient_array-0.1.0-py3-none-any.whl (14.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