# 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`:
```bash
pip install skia_gradient_array
```
## Development Installation
```bash
pip install -e ".[dev]"
```
Raw data
{
"_id": null,
"home_page": "https://github.com/leejjoon/skia-gradient-array",
"name": "skia-gradient-array",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Jae-Joon Lee",
"author_email": "lee.j.joon@gmail.com",
"download_url": null,
"platform": null,
"description": "# skia-gradient-array\n\nSimple wrapper around Skia to generate a gradient image in numpy.\nIt uses a skia.Surface with alphaType of skia.kUnpremul_AlphaType, so that it plays\nnicely with matplotib. Packages like cairo only supports alpha-premultiplied canvas,\nand things are not idea as Matplotlib does not support alpha-multiplied images.\n )\n\n## Installation\n\nYou can install using `pip`:\n\n```bash\npip install skia_gradient_array\n```\n\n## Development Installation\n\n\n```bash\npip install -e \".[dev]\"\n```\n\n",
"bugtrack_url": null,
"license": "BSD 3-Clause",
"summary": null,
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/leejjoon/skia-gradient-array"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "051d5778ce271ea6e8986fe6d945a039a5539dac9a708e82db71d9885a7f62a0",
"md5": "7a7c73096a096db8d6d4623848758c31",
"sha256": "72d5de3041f13c6df2bc7bcba8e4cbf5cb88d89efa20f7f05ea8648376e9376a"
},
"downloads": -1,
"filename": "skia_gradient_array-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7a7c73096a096db8d6d4623848758c31",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 14845,
"upload_time": "2024-10-23T14:05:37",
"upload_time_iso_8601": "2024-10-23T14:05:37.097869Z",
"url": "https://files.pythonhosted.org/packages/05/1d/5778ce271ea6e8986fe6d945a039a5539dac9a708e82db71d9885a7f62a0/skia_gradient_array-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-23 14:05:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "leejjoon",
"github_project": "skia-gradient-array",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "skia-gradient-array"
}