{ "info": { "author": "Mogeko", "author_email": "zhengjunyi@live.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: Chinese (Simplified)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development" ], "description": "==========\nfast2webp\n==========\n\n.. Travis build - https://github.com/Mogeko/fast2webp\n\n.. image:: https://travis-ci.org/Mogeko/fast2webp.svg?branch=master\n\t:target: https://github.com/Mogeko/fast2webp\n\t:alt: Travis build\n\n.. PyPI version \u2014 https://pypi.org/project/fast2webp\n\n.. image:: https://img.shields.io/pypi/v/fast2webp.svg\n\t:target: https://pypi.org/project/fast2webp\n\t:alt: PyPI version\n\n.. Python version \u2014 https://pypi.org/project/fast2webp\n\n.. image:: https://img.shields.io/pypi/pyversions/fast2webp.svg\n\t:target: https://pypi.org/project/fast2webp\n\t:alt: Python version\n\n\n\n\u4e00\u4e2a\u5c06 PNG\u3001JPG\u3001JPEG\u3001BMP\u3001GIF \u7b49\u683c\u5f0f\u7684\u56fe\u50cf\u6587\u4ef6\u6279\u91cf (\u9012\u5f52) \u8f6c\u6362\u4e3a webp \u683c\u5f0f\u7684 Python \u811a\u672c\n\n\u53ef\u4ee5\u8bbe\u5b9a\u538b\u7f29\u7ea7\u522b (0 ~ 100)\uff0c\u6570\u5b57\u8d8a\u5927\u54c1\u8d28\u8d8a\u597d\u3002\u652f\u6301\u65e0\u635f\u538b\u7f29\u3002\u652f\u6301\u591a\u7ebf\u7a0b\u3002\n\n\u53ef\u4ee5\u5728 GNU/Linux \u4e0a\u8fd0\u884c\uff0cMac OS \u4f30\u8ba1\u4e5f\u53ef\u4ee5 (\u6ca1\u6d4b\u8bd5\u8fc7)\uff0cWindows \u4e0a\u53ef\u80fd\u8981\u4fee\u6539\u4e00\u4e0b\u624d\u80fd\u7528 (\u4e3b\u8981\u662f\u76ee\u5f55\u5730\u5740\u4e2d ``/`` \u4e0e ``\\`` \u7684\u533a\u522b)\n\n \u7a81\u7136\u53d1\u73b0 ``webp`` \u7684\u5de5\u5177\u5305\u4e2d\u6709\u4e00\u4e2a\u53eb ``img2webp`` \u7684\u5de5\u5177 (\u6ca1\u7528\u8fc7\u6240\u4ee5\u4e0d\u77e5\u9053QAQ)\uff0c\u4e3a\u4e86\u907f\u514d\u51b2\u7a81\u73b0\u5c06\u9879\u76ee\u6539\u540d\u4e3a ``fast2webp`` _(:\u0437\u300d\u2220)_\n\n---------\n\u4f9d\u8d56\n---------\n\n- Python3\n- webp\n\n---------\n\u5b89\u88c5\n---------\n\n::\n\n sudo pip3 install fast2webp\n\n---------\n\u4f7f\u7528\n---------\n\n::\n\n fast2webp [options] \n\n---------\n\u622a\u56fe\n---------\n\n.. image:: https://f.cangg.cn:82/data/201812132140465668.gif\n\n--------------\n\u53c2\u6570 (options)\n--------------\n\n::\n\n usage: fast2webp [-h] [-i ] [-o ] [-q | -lossless][-t ] \n [-only {png,jpg,bmp,gif}] [-enable_gif] [-uncopy]\n\n -i .......... \u9700\u8981\u8f6c\u6362\u7684\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\uff0c\u4f1a\u9012\u5f52\u8fdb\u884c\u8f6c\u6362 (\u9ed8\u8ba4\uff1a.[\u5f53\u524d\u76ee\u5f55])\n -o .......... *.webp \u6587\u4ef6\u7684\u8f93\u51fa\u76ee\u5f55\uff0c\u8f93\u51fa\u76ee\u5f55\u7ed3\u6784\u4e0e\u8f93\u5165\u76ee\u5f55\u4fdd\u6301\u4e00\u81f4 (\u9ed8\u8ba4\uff1a./output)\n \u5982\u679c\u8f93\u51fa\u76ee\u5f55\u4e0d\u5b58\u5219\u4f1a\u6309\u7167\u7ed9\u5b9a\u7684\u8def\u5f84\u65b0\u5efa\u6587\u4ef6\u5939\n \u5982\u679c\u7f3a\u7701\uff0c\u5219\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e2d\u65b0\u5efa\u5e76\u8f93\u51fa\u5230\u76ee\u5f55 'output'\n -q .......... \u4e0e 'cwebp' \u4e2d\u76f8\u540c\uff1b\u8868\u793a\u538b\u7f29\u7684\u7a0b\u5ea6 (0 ~ 100)\uff0c\u6570\u5b57\u8d8a\u5927\u54c1\u8d28\u8d8a\u597d (\u9ed8\u8ba4\uff1a80)\n -t .......... \u7ebf\u7a0b\u6c60\u4e2d\u7ebf\u7a0b\u7684\u4e2a\u6570\uff1b\u6570\u5b57\u8d8a\u5927\u8f6c\u6362\u901f\u5ea6\u8d8a\u5feb\u3002\u5f53\u7136\uff0c\u4e5f\u66f4\u5403\u8d44\u6e90 (\u9ed8\u8ba4\uff1a10)\n -lossless ......... \u4e0e 'cwebp' \u4e2d\u76f8\u540c\uff1b\u65e0\u635f\u538b\u7f29\n -only ..... \u53ea\u6267\u884c\u67d0\u5355\u4e00\u4efb\u52a1 (\u53ef\u63a5\u53d7\u7684\u503c\u6709\uff1apng\u3001jpg\u3001bmp\u3001gif)\n \u4f8b\u5982\uff1a-only png \u8868\u793a\u53ea\u8f6c\u6362\u8f93\u5165\u76ee\u5f55\u4e2d\u7684 png \u6587\u4ef6\u4e3a\u5230\u8f93\u51fa\u76ee\u5f55\n -enable_gif ....... \u5c06 gif \u8f6c\u4e3a webp (\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f1a\u8df3\u8fc7 gif \u6587\u4ef6)\n \u8f6c\u6362 gif \u6587\u4ef6\u6bd4\u8f83\u5403\u8d44\u6e90\uff0c\u614e\u7528\n \u8f6c\u6362 gif \u6587\u4ef6\u4e0d\u652f\u6301\u65e0\u635f\u538b\u7f29\uff0c\u6b64\u65f6 -lossless = -q 100\n -uncopy ........... \u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f1a\u5c06\u975e\u56fe\u7247\u6587\u4ef6\u590d\u5236\u5230\u8f93\u51fa\u76ee\u5f55\u4e2d\uff0c\u4f7f\u7528\u53c2\u6570 -uncopy \u5173\u95ed\u8fd9\u4e00\u7279\u6027\n (*.webp \u548c *.gif \u4ecd\u4f1a\u88ab\u590d\u5236)\n -h ................ \u5c55\u793a\u5e2e\u52a9\u4fe1\u606f\n\n---------\nTODO\n---------\n\n- \u652f\u6301 Windows\n- \u652f\u6301\u66f4\u591a\u7684\u53c2\u6570", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Mogeko/fast2webp", "keywords": "webp", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "fast2webp", "package_url": "https://pypi.org/project/fast2webp/", "platform": "Linux", "project_url": "https://pypi.org/project/fast2webp/", "project_urls": { "Homepage": "https://github.com/Mogeko/fast2webp" }, "release_url": "https://pypi.org/project/fast2webp/1.1.11/", "requires_dist": null, "requires_python": "", "summary": "A Python script that converts image files in PNG, JPG, JPEG, BMP, GIF batch (recursively) to webp format", "version": "1.1.11" }, "last_serial": 4598998, "releases": { "1.1.10": [ { "comment_text": "", "digests": { "md5": "2aa39d11569908d73341a4bc2756a595", "sha256": "81c222e3ec9c58a42299a39b851b105e3bf19f80de9bc966fa9fe6a68d75df7b" }, "downloads": -1, "filename": "fast2webp-1.1.10.tar.gz", "has_sig": false, "md5_digest": "2aa39d11569908d73341a4bc2756a595", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7026, "upload_time": "2018-12-13T13:31:31", "url": "https://files.pythonhosted.org/packages/55/08/ab4fcf4cd8fabb9645c8fa2aab3135668fba4fe0df2d15da2f01893fd6c0/fast2webp-1.1.10.tar.gz" } ], "1.1.11": [ { "comment_text": "", "digests": { "md5": "c917e559109abc3532793fc6cc0c694e", "sha256": "5043cc42b329e171f846ee6036cc149c62342618bc884ece433aff37fcc728fc" }, "downloads": -1, "filename": "fast2webp-1.1.11.tar.gz", "has_sig": false, "md5_digest": "c917e559109abc3532793fc6cc0c694e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7234, "upload_time": "2018-12-14T11:31:06", "url": "https://files.pythonhosted.org/packages/e8/dc/7b54c3989e0e54597bad58bef6db5f082dc3c9d408ea1605c06698592b4e/fast2webp-1.1.11.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c917e559109abc3532793fc6cc0c694e", "sha256": "5043cc42b329e171f846ee6036cc149c62342618bc884ece433aff37fcc728fc" }, "downloads": -1, "filename": "fast2webp-1.1.11.tar.gz", "has_sig": false, "md5_digest": "c917e559109abc3532793fc6cc0c694e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7234, "upload_time": "2018-12-14T11:31:06", "url": "https://files.pythonhosted.org/packages/e8/dc/7b54c3989e0e54597bad58bef6db5f082dc3c9d408ea1605c06698592b4e/fast2webp-1.1.11.tar.gz" } ] }