Skip to content

Commit

Permalink
Version 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CairX committed Sep 14, 2020
1 parent 47f4ee9 commit 8a2e183
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions docs/releasenotes/0.2.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
=====
0.2.1
=====
--------------------------------
Partial support for transparency
--------------------------------
Previously pixel that were fully transparent would be counted towards
black which would skew the result. Now fully transparent pixels will
be ignored and not counted towards the total.

-------------------------
Incorrect command version
-------------------------
When calling extcolors from the command line the reported version
wouldn't match the installed version.
2 changes: 1 addition & 1 deletion extcolors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from extcolors import conversion
from extcolors import difference

__version__ = "0.2.0"
__version__ = "0.2.1"

DEFAULT_TOLERANCE = 32

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="extcolors",
version="0.2.0",
version="0.2.1",
description="Extract colors from an image. "
"Colors are grouped based on visual similarities using the CIE76 formula.",
long_description=open("README.rst").read(),
Expand Down

0 comments on commit 8a2e183

Please sign in to comment.