-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify, make better use of pillow (#193)
**Images** - Use Pillow images throughout rather than our own `Image` abstraction (Closes #192 ) - The `encode` and `save` methods on our old `Image` class are now standalone methods - There's no longer any need for a `arlunio._color` module, we can make use of Pillow's modes **Other** - Use the `appdirs` module to find the location we save the tutorial to, no longer any need for an `arlunuio._config` module - Expose stdlib components at the `arlunio.lib` level
- Loading branch information
Showing
9 changed files
with
52 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from ._color import RGB8 # noqa: F401 | ||
from ._core import Collection, Definition, definition # noqa: F401 | ||
from ._expressions import all, any, clamp, invert, lerp # noqa: F401 | ||
from ._images import Image, Resolutions, colorramp, fill # noqa: F401 | ||
from ._images import Resolutions, colorramp, encode, fill, save # noqa: F401 | ||
from ._version import __version__ # noqa: F401 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .parameters import R, T, X, Y # noqa: F401 | ||
from .pattern import Grid, Map, Pixelize # noqa: F401 | ||
from .shapes import Circle, Ellipse, Rectangle, Square, SuperEllipse # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters