{ "info": { "author": "Will McCutchen", "author_email": "will@mccutch.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Artistic Software", "Topic :: Multimedia :: Graphics", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "============\nTriangulizor\n============\n\nTriangulizor is a little Python script to apply a \u201ctriangular pixel\u201d\neffect to images, like so:\n\n.. image:: https://github.com/mccutchen/triangulizor/raw/master/examples/in.jpg\n\n\u21ca\u2601\u21ca\n\n.. image:: https://github.com/mccutchen/triangulizor/raw/master/examples/out.png\n\n\nInstallation\n============\n\nUse `pip`_ to install::\n\n pip install triangulizor\n\n\nUsage\n=====\n\nCommand Line Usage\n------------------\n\nFirst, find an image to triangulize! To generate the example above,\neither of these commands will do the trick::\n\n $ triangulizor --show --tile-size=16 examples/in.jpg\n\nThe ``--show`` flag will cause the resulting image to be displayed\nimmediately instead of written to ``stdout`` or to disk. You can also\npass in the URL to an image that you want to process::\n\n $ triangulizor --show --tile-size=16 https://github.com/mccutchen/triangulizor/raw/master/examples/in.jpg\n\nAll command line options are given below::\n\n $ triangulizor --help\n\nOutputs::\n\n usage: triangulizor [-h] [-t TILE_SIZE] [-v] [-vv] [-s] [infile] [outfile]\n\n Applies a \"triangular pixel\" effect to an image.\n\n positional arguments:\n infile Image to process (path or URL; defaults to STDIN)\n outfile Output file (defaults to STDOUT)\n\n optional arguments:\n -h, --help show this help message and exit\n -t TILE_SIZE, --tile-size TILE_SIZE\n Tile size (should be divisible by 2)\n -v, --verbose Verbose output\n -vv Very verbose output\n -s, --show Immediately display image instead of writing to\n OUTFILE.\n\nLibrary Usage\n-------------\n\nTriangulizor can also be used as a plain old Python library::\n\n >>> import triangulizor\n >>> triangulizor.triangulize('examples/in.jpg', 24)\n \n\n\nCredits\n=======\n\nThis was inspired entirely by `this awesomely helpful blog post`_ by\n`@revdancatt`_.\n\n.. _pip: http://www.pip-installer.org/\n.. _this awesomely helpful blog post: http://revdancatt.com/2012/03/31/the-pxl-effect-with-javascript-and-canvas-and-maths/\n.. _@revdancatt: http://twitter.com/revdancatt", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mccutchen/triangulizor", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "triangulizor", "package_url": "https://pypi.org/project/triangulizor/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/triangulizor/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mccutchen/triangulizor" }, "release_url": "https://pypi.org/project/triangulizor/1.0.2/", "requires_dist": null, "requires_python": null, "summary": "Triangulize your images!", "version": "1.0.2" }, "last_serial": 1031542, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e9e6a0a295d38820ff2c8427f44c4d83", "sha256": "3b3853ace0f669c2fbc5915e4ce5d10946cfd5b3dbe918ae5d8e099775e726a3" }, "downloads": -1, "filename": "triangulizor-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e9e6a0a295d38820ff2c8427f44c4d83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5154, "upload_time": "2012-12-03T22:52:23", "url": "https://files.pythonhosted.org/packages/f7/78/1100dcce4c2fad5dd594e490dc9dd26dc0435fb3b30fc79057f1ee1164c0/triangulizor-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "81b171dcca6027d1f463802bb01aee04", "sha256": "ff9d69ed33b28a07eff4594ef1fcca853258486863bb332b90e1a5ddf24f9dc5" }, "downloads": -1, "filename": "triangulizor-1.0.1.tar.gz", "has_sig": false, "md5_digest": "81b171dcca6027d1f463802bb01aee04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6001, "upload_time": "2013-04-02T17:57:18", "url": "https://files.pythonhosted.org/packages/97/7b/1109264e396c19370f871ce3d997e03cfa111e6928ff86aef618bfa96592/triangulizor-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ccb85ea055445f5342db8b6cd1c97b54", "sha256": "1a5fd22fa52fbe02b681b9138b2575e3c0d58748e0ce0dafe5efbb5870887142" }, "downloads": -1, "filename": "triangulizor-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ccb85ea055445f5342db8b6cd1c97b54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6041, "upload_time": "2014-03-16T18:24:43", "url": "https://files.pythonhosted.org/packages/2a/ba/88dfa1d1c1791e58eb84d1c7323e5476d6f8fb4016634845da329f591a65/triangulizor-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ccb85ea055445f5342db8b6cd1c97b54", "sha256": "1a5fd22fa52fbe02b681b9138b2575e3c0d58748e0ce0dafe5efbb5870887142" }, "downloads": -1, "filename": "triangulizor-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ccb85ea055445f5342db8b6cd1c97b54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6041, "upload_time": "2014-03-16T18:24:43", "url": "https://files.pythonhosted.org/packages/2a/ba/88dfa1d1c1791e58eb84d1c7323e5476d6f8fb4016634845da329f591a65/triangulizor-1.0.2.tar.gz" } ] }