{ "info": { "author": "Sid Verma", "author_email": "sid@sidverma.net", "bugtrack_url": null, "classifiers": [], "description": "i2a\n===\n\ni2a creates ASCII art from images right on your terminal.\n\nInstallation\n------------\n\nStep 1: Install dependencies\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nOSX:\n````\n\n.. code:: bash\n\n $ brew install libtiff libjpeg webp little-cms2\n\nLinux (Ubuntu):\n```````````````\n\n.. code:: bash\n\n $ sudo apt-get build-dep python-imaging\n $ sudo apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev\n\nFor other operating systems, check out the instructions\n`on this page `__ .\n\nStep 2: Install i2a\n~~~~~~~~~~~~~~~~~~~\n\nOption 1: `Pip `__\n````````````````````````````````````````````````````\n\n.. code:: bash\n\n $ pip install i2a\n\nOption 2: From source\n`````````````````````\n\n.. code:: bash\n\n $ git clone --recursive http://github.com/mavidser/i2a.git\n $ cd i2a/\n $ python setup.py install\n\nUsage\n-----\n\nBasic usage\n~~~~~~~~~~~\n\n.. code:: bash\n\n $ i2a image.jpg\n\nColored output\n~~~~~~~~~~~~~~\n\n.. code:: bash\n\n $ i2a --colors image.jpg\n\nWrite the art to a file\n~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: bash\n\n $ i2a image.jpg > ascii.txt\n\nIf the terminal has a light background\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: bash\n\n $ i2a image.jpg --invert\n\nor\n\n::\n\n $ i2a image.jpg --bg=BLACK\n\nOptions\n-------\n\nA complete list of available options:\n\n- ``--colors`` : Show colored output. i2a assumes that the terminal\n supports 256 colors.\n- ``--bold`` : Show bold characters. Makes the output is easier on eyes.\n- ``--invert`` : Invert the colors. Suitable for a light background.\n- ``--bg=(BLACK|WHITE)``: Specify your own background color.\n- ``--height=`` : Set the height in number of characters.\n- ``--width=`` : Set the width in number of characters.\n- ``--contrast=`` : Manually set contrast (default value: 1.5,\n for original image: 1.0).\n- ``--alt-chars`` : Use an alternate set of (more detailed) characters.\n\nContributing\n------------\n\n- Create an issue in the `issue\n tracker `__ describing the\n feature.\n- Fork the project.\n- Create a new branch - ``git checkout -b new-feature``\n- Commit the changes and push to your branch -\n ``git push origin new-feature``\n- Open a `pull request `__,\n referencing the issue you created.\n\nLicense\n-------\n\nSee the\n`LICENSE `__ file.\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mavidser/i2a", "keywords": "image,jpg,ascii,art", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "i2a", "package_url": "https://pypi.org/project/i2a/", "platform": "", "project_url": "https://pypi.org/project/i2a/", "project_urls": { "Homepage": "http://github.com/mavidser/i2a" }, "release_url": "https://pypi.org/project/i2a/1.3/", "requires_dist": [ "Pillow (>=2.5.0)", "docopt (>=0.6.2)" ], "requires_python": "", "summary": "i2a creates ASCII art from images right on your terminal.", "version": "1.3" }, "last_serial": 5721210, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "f5ab4a86a86cd55e0823f165c27b3885", "sha256": "e570f121d4a0eb43ed7124ef718b4809f2d335ccf8ce544aff591d3c53d4dafd" }, "downloads": -1, "filename": "i2a-1.0.tar.gz", "has_sig": false, "md5_digest": "f5ab4a86a86cd55e0823f165c27b3885", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3490, "upload_time": "2015-05-04T01:33:31", "url": "https://files.pythonhosted.org/packages/68/a7/e0c4ecbc293774910ff9c81da2518cec59f18412e826500cadb954f1d970/i2a-1.0.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "5ac094094fe6cfacef0e740cea4c44a2", "sha256": "ba6bc722b95d76c85b268a3ca4fee86f328cf2c829b7091a5e696048735a47c2" }, "downloads": -1, "filename": "i2a-1.2-py2.7.egg", "has_sig": false, "md5_digest": "5ac094094fe6cfacef0e740cea4c44a2", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7575, "upload_time": "2019-08-23T14:46:39", "url": "https://files.pythonhosted.org/packages/c6/f9/8e7d76b2f52b5805da159d2d1b99eb508d0337a042c5085bcb8ea583b656/i2a-1.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d47a861a622eef5fd72b827070f80b70", "sha256": "6e2dee7665899edc04e72747bd3a48f92aca8fbc5eb49d16872951b16fe0134b" }, "downloads": -1, "filename": "i2a-1.2-py3.6.egg", "has_sig": false, "md5_digest": "d47a861a622eef5fd72b827070f80b70", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 7608, "upload_time": "2019-08-23T14:46:40", "url": "https://files.pythonhosted.org/packages/84/eb/fdd42a56b71a73deae895a8d468c10421f65f97fb564916fb6b5e98c32e3/i2a-1.2-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "25260ae6e3b90efb8f2046bbe7896803", "sha256": "4646937862b93ecdbd251e0825a938180070fcbece1296bc17c10e1a78834c10" }, "downloads": -1, "filename": "i2a-1.2.tar.gz", "has_sig": false, "md5_digest": "25260ae6e3b90efb8f2046bbe7896803", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3636, "upload_time": "2015-05-05T00:35:21", "url": "https://files.pythonhosted.org/packages/aa/b8/e686af281aebeea53406d00f393eb951fdee7114cb4ad2308b042a3b9d6a/i2a-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "0e83840de5fbef375de64989c3cc4099", "sha256": "4b46069618277642c674b92b4a968b5fc994a8c6edaf89e7c115edfdb9af7bcb" }, "downloads": -1, "filename": "i2a-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0e83840de5fbef375de64989c3cc4099", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6317, "upload_time": "2019-08-23T14:46:37", "url": "https://files.pythonhosted.org/packages/1d/e2/bddc0adb39697bbe790bed3e399b687e0047665085289737720e71b77bd1/i2a-1.3-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0e83840de5fbef375de64989c3cc4099", "sha256": "4b46069618277642c674b92b4a968b5fc994a8c6edaf89e7c115edfdb9af7bcb" }, "downloads": -1, "filename": "i2a-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0e83840de5fbef375de64989c3cc4099", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6317, "upload_time": "2019-08-23T14:46:37", "url": "https://files.pythonhosted.org/packages/1d/e2/bddc0adb39697bbe790bed3e399b687e0047665085289737720e71b77bd1/i2a-1.3-py3-none-any.whl" } ] }