{ "info": { "author": "Selwin Ong", "author_email": "selwin.ong@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Topic :: Multimedia :: Graphics", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "A simple image manipulation library aiming to make common image/photo\nmanipulation tasks easy. This library is still under development,\nAPI may also change at any time.\n\nRequires PIL/Pillow.\n\nExample usage::\n\n from da_vinci import Image\n\n image = Image('lena.jpg')\n image.flip('horizontal')\n image.resize(width=10, height=10)\n image.save()\n\n # Opening an image from URL, rotating and change it's format\n image = Image('http://stamps.co.id/static/merchants/img/logo.png')\n image.rotate(degrees=90)\n image.set(format='jpg', quality=85)\n image.save() # Creates a file logo.jpg\n\n # Manipulating saturation, brightness, contrast and sharpness\n # Accepts values range from -100 (decrease) to 100 (increase)\n image.adjust(saturation=-100)\n image.adjust(brightness=-75, contrast=50, sharpness=-20)\n\n\nIf you need more extensive manipulation, an escape hatch to PIL\nis also available::\n\n image = image.from_file('a.jpg')\n pil_image = image.get_pil_image()\n # Do whatever you need to do with the pil image\n # And if you want to convert this back to a da_vinci image\n image.set_pil_image(pil_image)\n\nTests\n\nTo run tests::\n\n python -m unittest tests\n\nChangelog\n---------\n\nVersion 0.2.2\n=============\n* Added bmp extension support", "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/ui/da-vinci", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "da-vinci", "package_url": "https://pypi.org/project/da-vinci/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/da-vinci/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ui/da-vinci" }, "release_url": "https://pypi.org/project/da-vinci/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "A simple image manipulation library aiming to make common image tasks easy.", "version": "0.2.2" }, "last_serial": 1585755, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "52ac87dc8489e99b75186b2d6fc82eea", "sha256": "a5583e817e7dd2b5774c031408e6ae27b025646dd059caed171e207c5b5403fe" }, "downloads": -1, "filename": "da-vinci-0.1.0.tar.gz", "has_sig": false, "md5_digest": "52ac87dc8489e99b75186b2d6fc82eea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4760, "upload_time": "2013-11-20T03:15:56", "url": "https://files.pythonhosted.org/packages/41/cd/c190354cc9f82a4f000bf89da1ae17ab756e50bd6abbe409985d601fb6b4/da-vinci-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e8a85f2f06ae7bf7d906396129ba5f27", "sha256": "7de6865b961fcdab10a2352c59edfa49312478e570e67acdb86bd6907fb34420" }, "downloads": -1, "filename": "da-vinci-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e8a85f2f06ae7bf7d906396129ba5f27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4977, "upload_time": "2013-11-20T06:00:21", "url": "https://files.pythonhosted.org/packages/78/85/bf10ce8d3e17195bfc8dc6b0082908929d364e4e1c5f865062a53f91abb6/da-vinci-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4e5a96ec975f11574694c03ca1c15e10", "sha256": "bba5428703233bf9c9876c50a5701d5b0c83bbe104217126b45b0d6a037e8805" }, "downloads": -1, "filename": "da-vinci-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4e5a96ec975f11574694c03ca1c15e10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4987, "upload_time": "2014-04-14T07:09:41", "url": "https://files.pythonhosted.org/packages/b3/dc/52f98ff61d154ebcda08431143d8d81a2c7eec424cd396c4a8b577f48fbf/da-vinci-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "9f243eb94a1bc31f27232770b930abc5", "sha256": "f5d6ad047ff3e03f44104c4faabd20bb239aed74a23e74334593bc3c6f14886f" }, "downloads": -1, "filename": "da-vinci-0.2.2.tar.gz", "has_sig": false, "md5_digest": "9f243eb94a1bc31f27232770b930abc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5085, "upload_time": "2015-06-10T02:15:23", "url": "https://files.pythonhosted.org/packages/e9/9b/12da5934284673128557167a089054816c04a7175e6eda0557a71d725a39/da-vinci-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9f243eb94a1bc31f27232770b930abc5", "sha256": "f5d6ad047ff3e03f44104c4faabd20bb239aed74a23e74334593bc3c6f14886f" }, "downloads": -1, "filename": "da-vinci-0.2.2.tar.gz", "has_sig": false, "md5_digest": "9f243eb94a1bc31f27232770b930abc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5085, "upload_time": "2015-06-10T02:15:23", "url": "https://files.pythonhosted.org/packages/e9/9b/12da5934284673128557167a089054816c04a7175e6eda0557a71d725a39/da-vinci-0.2.2.tar.gz" } ] }