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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skia_gradient_array-0.1.0-py3-none-any.whl.
File metadata
- Download URL: skia_gradient_array-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72d5de3041f13c6df2bc7bcba8e4cbf5cb88d89efa20f7f05ea8648376e9376a
|
|
| MD5 |
7a7c73096a096db8d6d4623848758c31
|
|
| BLAKE2b-256 |
051d5778ce271ea6e8986fe6d945a039a5539dac9a708e82db71d9885a7f62a0
|