{ "info": { "author": "Guangming Li", "author_email": "leeful@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "What is PyJpegOptim?\r\n=================================================\r\n\r\n PyJpegOptim is a utility for optimizing JPEG files.\r\n It provides lossless optimization (based on optimizing the Huffman tables) and \"lossy\" optimization based on setting a maximum quality factor.\r\n\r\nInstallation\r\n=================================================\r\n\r\n You need to install libjpeg first, To install JpegOptim:\r\n\r\nDebian::\r\n\r\n apt-get install libjpeg-dev -y\r\n\r\nFreeBSD::\r\n\r\n cd /usr/ports/graphics/jpeg\r\n make install clean\r\n\r\nTo install PyJpegOptim::\r\n\r\n pip install pyjpegoptim\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 pyjpegoptim import JpegOptim\r\n t = JpegOptim('/tmp/test.jpg', quality=80)\r\n t.save('/tmp/test_optim.jpg')\r\n t.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/pyjpegoptim", "keywords": "JpegOptim,TinyJpeg", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "pyjpegoptim", "package_url": "https://pypi.org/project/pyjpegoptim/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyjpegoptim/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/cute/pyjpegoptim" }, "release_url": "https://pypi.org/project/pyjpegoptim/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "a utility for optimizing JPEG files", "version": "0.1.1" }, "last_serial": 779839, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "a3758b902f94a45bacc89b8dd78e2ad2", "sha256": "f582bdff1261ea3b8755113bba70e730b29624381e8880db98b585bc717035f0" }, "downloads": -1, "filename": "pyjpegoptim-0.1.1.zip", "has_sig": false, "md5_digest": "a3758b902f94a45bacc89b8dd78e2ad2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4442, "upload_time": "2013-06-26T02:24:04", "url": "https://files.pythonhosted.org/packages/c7/f2/06a781605856153a5643e646ff50365c7aec6f2a611ebe10e3d0d08ec6e3/pyjpegoptim-0.1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3758b902f94a45bacc89b8dd78e2ad2", "sha256": "f582bdff1261ea3b8755113bba70e730b29624381e8880db98b585bc717035f0" }, "downloads": -1, "filename": "pyjpegoptim-0.1.1.zip", "has_sig": false, "md5_digest": "a3758b902f94a45bacc89b8dd78e2ad2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4442, "upload_time": "2013-06-26T02:24:04", "url": "https://files.pythonhosted.org/packages/c7/f2/06a781605856153a5643e646ff50365c7aec6f2a611ebe10e3d0d08ec6e3/pyjpegoptim-0.1.1.zip" } ] }