{ "info": { "author": "Framework Labs", "author_email": "fred@frameworklabs.us", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "# ColorSep\nA utility for separating a single png (such as one produced by an [inkscape](https://inkscape.org/) export) into\nseparate per-color images such as might be useful for silk screen printing at a place like\n[ooshirts](http://www.ooshirts.com).\n\n## Features\nThe current feature set includes:\n- separation into a specifiable number colors\n- a \"near pixel threshold\" option for fuzzily matching colors that are close but not exactly what's expected\n- a \"white base\" option to produce a white pixel under all active pixels of any color\n- a specifiable alpha threshold beneath which all pixels will be discarded\n\n## Requirements\nColorsep probably requires python 3. I'll gladly accept PRs to fix this and/or assertions to the contrary. I just\nhaven't tested it.\n\n## Install\nIt should be as simple as `pip install colorsep` for python-friendly folks.\n\n## Basic usage\nTo generate the images I needed to make my t-shirt, I ran this:\n```colorsep --input resources/farm_scene.png --output-base output/output_ --num-colors=7 --base-white --near-pixel-threshold=100```\n\nTo get help:\n```\n$ colorsep --help\nUsage: colorsep [OPTIONS]\n\nOptions:\n --input TEXT input png\n --output-base TEXT base name of output pngs\n --alpha-threshold INTEGER on/off threshold for alpha\n --num-colors TEXT use to set number of output colors\n --base-white should all color be underlaid with white?\n --near-pixel-threshold INTEGER tolerance for nearest-color computation\n --help Show this message and exit.\n$\n```\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/frameworklabs/colorsep", "keywords": "color separation screen printing", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "colorsep", "package_url": "https://pypi.org/project/colorsep/", "platform": "", "project_url": "https://pypi.org/project/colorsep/", "project_urls": { "Homepage": "https://gitlab.com/frameworklabs/colorsep" }, "release_url": "https://pypi.org/project/colorsep/0.0.3/", "requires_dist": [ "Click (==7.0)", "scipy (==1.1.0)", "pypng (==0.0.18)" ], "requires_python": "", "summary": "a utility for separating images for screen printing", "version": "0.0.3" }, "last_serial": 4408793, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "06f985a96df8b2dd103d3de12e5e625b", "sha256": "82dae5341da24d5951f3b2a94073fe604efc7b2fd9f9bb11cbad0cd674f643e9" }, "downloads": -1, "filename": "colorsep-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "06f985a96df8b2dd103d3de12e5e625b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3257, "upload_time": "2018-10-24T00:47:30", "url": "https://files.pythonhosted.org/packages/9e/05/ea6eb11ac200de7185a78c79f2748852bb56c6a08280863064861224ca1f/colorsep-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09e88754dc694e84f631c396eb8ae9dc", "sha256": "10ddedb277033bd4e3f3a8539925afa1977da70c7275c9e283553fe2bac65781" }, "downloads": -1, "filename": "colorsep-0.0.1.tar.gz", "has_sig": false, "md5_digest": "09e88754dc694e84f631c396eb8ae9dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3168, "upload_time": "2018-10-24T00:47:32", "url": "https://files.pythonhosted.org/packages/91/37/f5b09310e5a5250ed425cf6edc8c546781982a8c9449d8b02aff4bce1ae0/colorsep-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ece9dd65dbe5e12d3b536f601f4c6cc0", "sha256": "af3fb4e15df4c477bb3e1e3d67199c6e431400c33e6785af2ed44af161a46487" }, "downloads": -1, "filename": "colorsep-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ece9dd65dbe5e12d3b536f601f4c6cc0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3252, "upload_time": "2018-10-24T00:53:19", "url": "https://files.pythonhosted.org/packages/50/cf/95dd107b86ac59a0d2c0b514d61445b9c03ef3337dbf46d1774e88157466/colorsep-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4d26ec177e4fee225d22d4fa711a0957", "sha256": "578544b3db45a7a75fcd5a247ad79cbfe9c45295bd60a30ee491acf74303433f" }, "downloads": -1, "filename": "colorsep-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4d26ec177e4fee225d22d4fa711a0957", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3161, "upload_time": "2018-10-24T00:53:21", "url": "https://files.pythonhosted.org/packages/09/8a/59b6a6b91ad60a0b6c9d5196fbe8f0a5b2d4145f796b5333b276fcc4bf1e/colorsep-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "49619dd3ef6f2546fe1d6696a0f90830", "sha256": "9cac4cf271ada63a18fb12c83e331c864eae78611afc299fe02000a5985c0343" }, "downloads": -1, "filename": "colorsep-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "49619dd3ef6f2546fe1d6696a0f90830", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5771, "upload_time": "2018-10-24T00:57:16", "url": "https://files.pythonhosted.org/packages/11/20/16e21280e4501bea376d94eabf742d3fc127542ec9b2bf9cf0f6f8a05c08/colorsep-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f67ba7eef0d1dfe2cb355788c5e4c2b3", "sha256": "c78071393343f19764f88746bf6c41a3cd3fe7e8d422717a88a0deaa966ef02d" }, "downloads": -1, "filename": "colorsep-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f67ba7eef0d1dfe2cb355788c5e4c2b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5309, "upload_time": "2018-10-24T00:57:18", "url": "https://files.pythonhosted.org/packages/f0/c3/984028809c56855e352dd2cfdd76d2ee8c06274f7d30ff9b6d8b4fffa48e/colorsep-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "49619dd3ef6f2546fe1d6696a0f90830", "sha256": "9cac4cf271ada63a18fb12c83e331c864eae78611afc299fe02000a5985c0343" }, "downloads": -1, "filename": "colorsep-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "49619dd3ef6f2546fe1d6696a0f90830", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5771, "upload_time": "2018-10-24T00:57:16", "url": "https://files.pythonhosted.org/packages/11/20/16e21280e4501bea376d94eabf742d3fc127542ec9b2bf9cf0f6f8a05c08/colorsep-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f67ba7eef0d1dfe2cb355788c5e4c2b3", "sha256": "c78071393343f19764f88746bf6c41a3cd3fe7e8d422717a88a0deaa966ef02d" }, "downloads": -1, "filename": "colorsep-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f67ba7eef0d1dfe2cb355788c5e4c2b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5309, "upload_time": "2018-10-24T00:57:18", "url": "https://files.pythonhosted.org/packages/f0/c3/984028809c56855e352dd2cfdd76d2ee8c06274f7d30ff9b6d8b4fffa48e/colorsep-0.0.3.tar.gz" } ] }