From 8a2e1837abeda46308a2d1deb29033e9d095f403 Mon Sep 17 00:00:00 2001 From: Thomas Cairns Date: Mon, 14 Sep 2020 13:05:25 +0200 Subject: [PATCH] Version 0.2.1 --- docs/releasenotes/0.2.1.rst | 15 +++++++++++++++ extcolors/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 docs/releasenotes/0.2.1.rst diff --git a/docs/releasenotes/0.2.1.rst b/docs/releasenotes/0.2.1.rst new file mode 100644 index 0000000..50a5bac --- /dev/null +++ b/docs/releasenotes/0.2.1.rst @@ -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. diff --git a/extcolors/__init__.py b/extcolors/__init__.py index 0ac18e8..e3df857 100644 --- a/extcolors/__init__.py +++ b/extcolors/__init__.py @@ -7,7 +7,7 @@ from extcolors import conversion from extcolors import difference -__version__ = "0.2.0" +__version__ = "0.2.1" DEFAULT_TOLERANCE = 32 diff --git a/setup.py b/setup.py index a0202ec..6806a25 100644 --- a/setup.py +++ b/setup.py @@ -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(),