Metadata-Version: 2.1
Name: snowy
Version: 0.0.9
Summary: Small Image Library for Python 3
Home-page: https://github.com/prideout/snowy
Author: Philip Rideout
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: imageio (>=2.3)
Requires-Dist: numpy (>=1.14)
Requires-Dist: numba (>=0.39)
Requires-Dist: scipy (>=0.16)

[![Build Status](https://travis-ci.org/prideout/snowy.svg?branch=master)](https://travis-ci.org/prideout/snowy)

## Snowy

This is a tiny Python 3 module for manipulating and generating images.
- Simple and flat API. See the [documentation](https://prideout.net/snowy/).
- Supports resize and blur with a variety of filters.
- Honors a specified wrap mode for proper boundary behavior.
- Supports simple OpenEXR images (never clamps colors).
- Written purely in Python 3 and accelerated using [numba](https://numba.pydata.org/).
- Efficiently generates gradient noise and distance fields.

Snowy is somewhat similar to [pillow](https://python-pillow.org/) and
[scikit-image](https://scikit-image.org/), but has a small feature set with some unique abilities.
Painting and 2D paths are outside the scope of the library. See
  [pycairo](https://pycairo.readthedocs.io/en/latest/) or
  [skia-pathops](https://github.com/fonttools/skia-pathops).

<!--

add new section to the doc "Coordinate fields" : mentions CPCF and Warping
    add generate_coords function (should take a dtype)

add "apply_gradient" to color.py

compute_skylight should take wrapx and wrapy

Dithering

Replace "imageio" with "snowyio" which has minimal C code (tinyexr and stb_image)
    Try to support URL's in load
    Look at CairoSVG for inspiration, it takes url, fileobj, etc

CPCF's

Make a video with iterm2 and ipython (or bpython or ptpython)

express the popular "notestrink.py" in terms of snowy operations

prefiltering as seen in docs/hoppe

arbitrary rotation
    RShear: "A Fast Algorithm for General Raster Rotation" by Alan Paeth in Graphics Gems
    http://www.leptonica.com/rotation.html

variable radius blur (radius multiplier is a fn not a constant)
test with a distance field + gradient

tile-based functions (see libvips)

reduce_colors

io can have create_movie
    heat wave example
    brownian loop zoom example

io can have generate_gallery for making HTML, and optional forced width/height/filter

pixel art scaling algorithm(s)

add fractal.py
    mandelbrot example from numba
    also this: https://en.wikipedia.org/wiki/Buddhabrot

generate voronoi or triangulations, like the little test images here:
    http://agea.github.io/tutorial.md/

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Making a release:

  1. Update the version # in generate.py and setup.py, then run generate.py
  2. python3 setup.py sdist bdist_wheel
  3. twine upload dist/*
  4. git push

  consider using travis for this:
      https://docs.travis-ci.com/user/deployment/pypi/

Testing a release:

  open https://pypi.org/project/snowy/
  cd ~ ; python3 -m venv snowy_test
  source snowy_test/bin/activate
  pip install snowy
  python3
      import snowy; import numpy as np
      n = snowy.generate_noise(100, 100, frequency=4, seed=42, wrapx=True)
      snowy.show(n)
      deactivate
  see also:
      https://docs.python-guide.org/dev/virtualenvs/

-->


