{"id":13419464,"url":"https://github.com/prideout/snowy","last_synced_at":"2026-01-18T11:45:12.931Z","repository":{"id":32945340,"uuid":"145346296","full_name":"prideout/snowy","owner":"prideout","description":" Small Image Library for Python 3","archived":false,"fork":false,"pushed_at":"2022-12-08T03:14:11.000Z","size":8382,"stargazers_count":416,"open_issues_count":6,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-30T23:53:37.241Z","etag":null,"topics":["image-processing","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prideout.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-20T00:01:19.000Z","updated_at":"2024-07-21T06:46:26.000Z","dependencies_parsed_at":"2023-01-14T22:46:54.761Z","dependency_job_id":null,"html_url":"https://github.com/prideout/snowy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prideout%2Fsnowy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prideout%2Fsnowy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prideout%2Fsnowy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prideout%2Fsnowy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prideout","download_url":"https://codeload.github.com/prideout/snowy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243690114,"owners_count":20331726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-processing","python"],"created_at":"2024-07-30T22:01:16.399Z","updated_at":"2026-01-18T11:45:12.915Z","avatar_url":"https://github.com/prideout.png","language":"Python","readme":"[![Build Status](https://travis-ci.org/prideout/snowy.svg?branch=master)](https://travis-ci.org/prideout/snowy)\n\n## Snowy\n\nThis is a tiny Python 3 module for manipulating and generating images.\n- Simple and flat API. See the [documentation](https://prideout.net/snowy/).\n- Supports resize and blur with a variety of filters.\n- Honors a specified wrap mode for proper boundary behavior.\n- Supports simple OpenEXR images (never clamps colors).\n- Written purely in Python 3 and accelerated using [numba](https://numba.pydata.org/).\n- Efficiently generates gradient noise and distance fields.\n\nSnowy is somewhat similar to [pillow](https://python-pillow.org/) and\n[scikit-image](https://scikit-image.org/), but has a small feature set with some unique abilities.\nPainting and 2D paths are outside the scope of the library. See\n  [pycairo](https://pycairo.readthedocs.io/en/latest/) or\n  [skia-pathops](https://github.com/fonttools/skia-pathops).\n\n\u003c!--\n\nadd new section to the doc \"Coordinate fields\" : mentions CPCF and Warping\n    add generate_coords function (should take a dtype)\n\nadd \"apply_gradient\" to color.py\n\ncompute_skylight should take wrapx and wrapy\n\nDithering\n\nReplace \"imageio\" with \"snowyio\" which has minimal C code (tinyexr and stb_image)\n    Try to support URL's in load\n    Look at CairoSVG for inspiration, it takes url, fileobj, etc\n\nCPCF's\n\nMake a video with iterm2 and ipython (or bpython or ptpython)\n\nexpress the popular \"notestrink.py\" in terms of snowy operations\n\nprefiltering as seen in docs/hoppe\n\narbitrary rotation\n    RShear: \"A Fast Algorithm for General Raster Rotation\" by Alan Paeth in Graphics Gems\n    http://www.leptonica.com/rotation.html\n\nvariable radius blur (radius multiplier is a fn not a constant)\ntest with a distance field + gradient\n\ntile-based functions (see libvips)\n\nreduce_colors\n\nio can have create_movie\n    heat wave example\n    brownian loop zoom example\n\nio can have generate_gallery for making HTML, and optional forced width/height/filter\n\npixel art scaling algorithm(s)\n\nadd fractal.py\n    mandelbrot example from numba\n    also this: https://en.wikipedia.org/wiki/Buddhabrot\n\ngenerate voronoi or triangulations, like the little test images here:\n    http://agea.github.io/tutorial.md/\n\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nMaking a release:\n\n  1. Update the version # in generate.py and setup.py, then run generate.py\n  2. python3 setup.py sdist bdist_wheel\n  3. twine upload dist/*\n  4. git push\n\n  consider using travis for this:\n      https://docs.travis-ci.com/user/deployment/pypi/\n\nTesting a release:\n\n  open https://pypi.org/project/snowy/\n  cd ~ ; python3 -m venv snowy_test\n  source snowy_test/bin/activate\n  pip install snowy\n  python3\n      import snowy; import numpy as np\n      n = snowy.generate_noise(100, 100, frequency=4, seed=42, wrapx=True)\n      snowy.show(n)\n      deactivate\n  see also:\n      https://docs.python-guide.org/dev/virtualenvs/\n\n--\u003e\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprideout%2Fsnowy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprideout%2Fsnowy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprideout%2Fsnowy/lists"}