{ "info": { "author": "Guangming Li", "author_email": "leeful@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "What is PyPngnq?\r\n===========================================\r\n\r\n PyPngnq is a tool for quantizing PNG images in RGBA format\r\n\r\nInstallation\r\n===========================================\r\n\r\n You need to install libpng first, To install PyPngnq:\r\n\r\n Debian::\r\n\r\n apt-get install libpng-dev -y\r\n\r\n FreeBSD::\r\n\r\n cd /usr/ports/graphics/png\r\n make install clean\r\n\r\n To install PyPngnq::\r\n\r\n pip install PyPngnq\r\n\r\nHow to use it?\r\n========================\r\n\r\n Following is a simple example::\r\n\r\n # -*- coding: utf8 -*-\r\n from pypngnq import PngNQ\r\n nq = PngNQ('/tmp/test.png')\r\n #print nq.config\r\n nq.use_floyd = False\r\n nq.save('/tmp/test_pypngnq.png')\r\n nq.close()", "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/cute/pypngnq", "keywords": "TinyPNG,PngNQ,ImageOptim,PngOptim", "license": "Apache License", "maintainer": "", "maintainer_email": "", "name": "pypngnq", "package_url": "https://pypi.org/project/pypngnq/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pypngnq/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/cute/pypngnq" }, "release_url": "https://pypi.org/project/pypngnq/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "a utility for optimizing PNG files", "version": "0.1.3" }, "last_serial": 780153, "releases": { "0.1.1": [], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3df191a045f6e99b3e42917f0b9b8d7b", "sha256": "6392ca0a5d6b9978de6109bba46139d82999dc225d6ab680e65188a16c51d549" }, "downloads": -1, "filename": "pypngnq-0.1.2.zip", "has_sig": false, "md5_digest": "3df191a045f6e99b3e42917f0b9b8d7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32272, "upload_time": "2013-06-26T09:39:04", "url": "https://files.pythonhosted.org/packages/c1/86/6e086da508f8c528fd6feafbbf5de6445774591f27ab7952dfebda86104e/pypngnq-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "626398c2d65f6c424457dc08d4c08d53", "sha256": "366f9199a2a269ee1af28a6896cc553e3feae0aa169dfabc7a28f94d43eaea0d" }, "downloads": -1, "filename": "pypngnq-0.1.3.tar.gz", "has_sig": false, "md5_digest": "626398c2d65f6c424457dc08d4c08d53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30601, "upload_time": "2013-06-26T12:27:37", "url": "https://files.pythonhosted.org/packages/f9/15/eb2bb911598b319a72537b1f88c3a0aad59df8aea9e746ed09d58c2b4b3c/pypngnq-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "626398c2d65f6c424457dc08d4c08d53", "sha256": "366f9199a2a269ee1af28a6896cc553e3feae0aa169dfabc7a28f94d43eaea0d" }, "downloads": -1, "filename": "pypngnq-0.1.3.tar.gz", "has_sig": false, "md5_digest": "626398c2d65f6c424457dc08d4c08d53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30601, "upload_time": "2013-06-26T12:27:37", "url": "https://files.pythonhosted.org/packages/f9/15/eb2bb911598b319a72537b1f88c3a0aad59df8aea9e746ed09d58c2b4b3c/pypngnq-0.1.3.tar.gz" } ] }