{ "info": { "author": "Jeff Hammel", "author_email": "k0scist@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "cropresize\n==========\n\ncropresize uses `PIL `_\nto crop and resize an image as appropriate for web\npresentation. cropresize is a convenience package that allows image\nresizing without aspect ratio distortion.\n\nAPI\n---\n\ncropresize contains one useful function, ``cropresize.crop_resize``.\nThe function takes three arguments:\n\n * image: a `PIL image `_ object\n * size: a 2-tuple of (width,height); at least one must be specified\n * exact_size: whether to scale up for smaller images \n\nSee ``cropresize.crop_resize.__doc__`` for the function\ndocumentation. ``crop_resize`` returns the cropped and resized PIL image.\n\n\nCommand Line\n------------\n\nThe command line program, ``crop-resize``, is included in this python\npackage. The help for the program is displayed by running\n``crop-resize`` with no arguments or ``crop-resize --help``.\n\n\nFuture Work\n-----------\n\ncropresize is written as a convenience function to PIL as this\nmethodology for cropping and resizing images is often desired for\npresentation, particularly on the web. Since the utility is in\ndemand, the functionality should be ported upstream to PIL.\n\n--\n\nhttp://k0s.org/portfolio/software.html#cropresize", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/cropresize", "keywords": "image", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "cropresize", "package_url": "https://pypi.org/project/cropresize/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cropresize/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/cropresize" }, "release_url": "https://pypi.org/project/cropresize/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "crop and resize an image without doing the math yourself", "version": "0.1.6" }, "last_serial": 788530, "releases": { "0.0": [ { "comment_text": "", "digests": { "md5": "5bb588aea734247e32635bd72a6e105e", "sha256": "b63e321574ebc501d28a821871e4c63fc2baa26796f3b5be1bd7118aca0264a2" }, "downloads": -1, "filename": "cropresize-0.0-py2.4.egg", "has_sig": false, "md5_digest": "5bb588aea734247e32635bd72a6e105e", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 3066, "upload_time": "2009-07-14T19:14:47", "url": "https://files.pythonhosted.org/packages/d3/c2/a1d80fb1f16524ef78f5e3e7e4cd8fcc1b8dddb4569e38e230296b584819/cropresize-0.0-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "8963b21798bf77eca76614e4de13fdfc", "sha256": "8ae55da7616d7a7fbe4e8155dd1ecf200547b7100b3abc6b1a08e1140de422e9" }, "downloads": -1, "filename": "cropresize-0.0.tar.gz", "has_sig": false, "md5_digest": "8963b21798bf77eca76614e4de13fdfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1726, "upload_time": "2009-07-14T19:14:47", "url": "https://files.pythonhosted.org/packages/8a/17/3d9c5a7255691319cbc1e7784073a76bff92c1d3af46461b8acae7e81e28/cropresize-0.0.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "c93847174097b2e40b7ba4c2bde38ca5", "sha256": "e460da754e1bb494afb55c772a6a0e9196a8e3d78c38c9115f7ed1dbed64b24c" }, "downloads": -1, "filename": "cropresize-0.1-py2.4.egg", "has_sig": false, "md5_digest": "c93847174097b2e40b7ba4c2bde38ca5", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 3522, "upload_time": "2009-07-14T22:08:12", "url": "https://files.pythonhosted.org/packages/de/7d/bf766da8b5a2ff4a1fcdcfdec72cb60930d565280b4a14de35ef5f644e1c/cropresize-0.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "a4548a9d45c0b045841fa1fe8cf29238", "sha256": "e3e58dee1b8b54ca9e98a96ca4a5dc36d89c4d0fec62a8a7c686db244e368de4" }, "downloads": -1, "filename": "cropresize-0.1.tar.gz", "has_sig": false, "md5_digest": "a4548a9d45c0b045841fa1fe8cf29238", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1932, "upload_time": "2009-07-14T22:08:11", "url": "https://files.pythonhosted.org/packages/43/6c/3b4f125659753f74792fcb21608ac15c9149551df952c5ef2c16f57164bd/cropresize-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3df0e4b2920ecb220857aad5bb686191", "sha256": "b7fc4e97bf721cf2953848d4f9d7b175e948d2717f729ae55e02cc634f7af7b3" }, "downloads": -1, "filename": "cropresize-0.1.1-py2.4.egg", "has_sig": false, "md5_digest": "3df0e4b2920ecb220857aad5bb686191", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 3474, "upload_time": "2009-07-14T22:10:24", "url": "https://files.pythonhosted.org/packages/99/21/ef3d4837b070e2697440391c71d7b43eb94a69dd5c38e23c1b6ccf1366ca/cropresize-0.1.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "6e6bc60905c6096ac47495e8e2a635e6", "sha256": "747ab465c28294299c82760271fa80fd6c5c55349607979888b832b90ee4864e" }, "downloads": -1, "filename": "cropresize-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6e6bc60905c6096ac47495e8e2a635e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1914, "upload_time": "2009-07-14T22:10:24", "url": "https://files.pythonhosted.org/packages/6c/89/2e942dace918deccbce874395cc0ce0f20ccc28a4ada272a503507f8f199/cropresize-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3eed74e199770a7985a0e9865d4d9bad", "sha256": "d540e3d1a7f8981c36505b87731c44653110d555bccc5c77b08ae24eddbc1e3c" }, "downloads": -1, "filename": "cropresize-0.1.2-py2.4.egg", "has_sig": false, "md5_digest": "3eed74e199770a7985a0e9865d4d9bad", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 3480, "upload_time": "2009-10-29T23:26:43", "url": "https://files.pythonhosted.org/packages/0e/4b/03948b24874f004b1ce6772927e3ef52c98ebf8b7502dda20358569356dc/cropresize-0.1.2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "305038ce9693e2c0915844025834f770", "sha256": "2e94c0c0e24d89be8ff7ec6282b495065f791317c095757e7714771e105e4619" }, "downloads": -1, "filename": "cropresize-0.1.2-py2.5.egg", "has_sig": false, "md5_digest": "305038ce9693e2c0915844025834f770", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 3469, "upload_time": "2009-12-25T23:45:18", "url": "https://files.pythonhosted.org/packages/df/7b/13356af57089e3e06d606ca871a4c3110cd92808566de371beec72f88e27/cropresize-0.1.2-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "b6c4e9925120aa794b704fb8c93a65e1", "sha256": "8ce41d4f020c65738e7b7f1869d1f67a9da7296fd86ca94e6740e94cdf1c9f53" }, "downloads": -1, "filename": "cropresize-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b6c4e9925120aa794b704fb8c93a65e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1926, "upload_time": "2009-10-29T23:26:42", "url": "https://files.pythonhosted.org/packages/02/37/ba6541f97d22c17476550844acf29c3462d87c292b1560c4491d18d60f40/cropresize-0.1.2.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "b3e94fa124df17ac324cb16dc5ac25df", "sha256": "a284127091eabf8fca339a301574713b684450196639826a9d7a67daeeb12b53" }, "downloads": -1, "filename": "cropresize-0.1.4.tar.gz", "has_sig": false, "md5_digest": "b3e94fa124df17ac324cb16dc5ac25df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3176, "upload_time": "2010-03-06T20:55:36", "url": "https://files.pythonhosted.org/packages/b1/e4/fdabc610567ec3e2e73210af083d3cc038d97f49602b30b77a889659aa68/cropresize-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "b559f506d8748ba87a8ff07dd6bbbab3", "sha256": "76f9af8c9e4b609c2299f8e2ac1ddeff93ff94ebacfcc60bc555c35fe8df985f" }, "downloads": -1, "filename": "cropresize-0.1.5.tar.gz", "has_sig": false, "md5_digest": "b559f506d8748ba87a8ff07dd6bbbab3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3217, "upload_time": "2010-12-14T06:52:23", "url": "https://files.pythonhosted.org/packages/72/00/871ec0dca8f1f01b3750166139437e1fc7026612e570abe72160623c4a66/cropresize-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "5ae24a214a5233723ffdac0ced5198c6", "sha256": "59fe428794858b8e30de04c6c1d6722d2bba06371c0d08852ebb6221998fb14e" }, "downloads": -1, "filename": "cropresize-0.1.6.tar.gz", "has_sig": false, "md5_digest": "5ae24a214a5233723ffdac0ced5198c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3238, "upload_time": "2011-03-14T22:32:42", "url": "https://files.pythonhosted.org/packages/bf/e2/4927cfa0cad88590b632a43177a98fea2c2c3cd6e9a1ff87b8ccfd445de5/cropresize-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5ae24a214a5233723ffdac0ced5198c6", "sha256": "59fe428794858b8e30de04c6c1d6722d2bba06371c0d08852ebb6221998fb14e" }, "downloads": -1, "filename": "cropresize-0.1.6.tar.gz", "has_sig": false, "md5_digest": "5ae24a214a5233723ffdac0ced5198c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3238, "upload_time": "2011-03-14T22:32:42", "url": "https://files.pythonhosted.org/packages/bf/e2/4927cfa0cad88590b632a43177a98fea2c2c3cd6e9a1ff87b8ccfd445de5/cropresize-0.1.6.tar.gz" } ] }