{
"info": {
"author": "codeif",
"author_email": "me@codeif.com",
"bugtrack_url": null,
"classifiers": [],
"description": "crimg\n=====\n\ncrimg uses `Pillow `_\nto crop and resize an image as appropriate for web\npresentation.\nIt is a convenience package that allows image\nresizing without aspect ratio distortion.\n\nAPI\n---\n\ncrimg contains one useful function, ``crimg.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 ``crimg.crop_resize.__doc__`` for the function\ndocumentation. ``crop_resize`` returns the cropped and resized PIL image.\n\nCommand Line\n------------\n\nThe command line program, ``crimg``, is included in this python\npackage. The help for the program is displayed by running\n``crimg`` with no arguments or ``crimg --help``.",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/codeif/crimg",
"keywords": "",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "crimg",
"package_url": "https://pypi.org/project/crimg/",
"platform": "",
"project_url": "https://pypi.org/project/crimg/",
"project_urls": {
"Homepage": "https://github.com/codeif/crimg"
},
"release_url": "https://pypi.org/project/crimg/0.0.3/",
"requires_dist": null,
"requires_python": "",
"summary": "Crop and resize an image without aspect ratio distortion.",
"version": "0.0.3"
},
"last_serial": 2645300,
"releases": {
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "c46553d2bf3c74bdbba03ecd990bc1a9",
"sha256": "0aeed6c740229beb1135c4f9e4f86f33be84c7b9b2ce6da392282bc358be86b4"
},
"downloads": -1,
"filename": "crimg-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "c46553d2bf3c74bdbba03ecd990bc1a9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2765,
"upload_time": "2016-10-10T15:44:23",
"url": "https://files.pythonhosted.org/packages/74/21/cdc8513eaeaec2d5e1fa8ee3081380428408313b05bf5d5d54c84eed4bd9/crimg-0.0.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "c46553d2bf3c74bdbba03ecd990bc1a9",
"sha256": "0aeed6c740229beb1135c4f9e4f86f33be84c7b9b2ce6da392282bc358be86b4"
},
"downloads": -1,
"filename": "crimg-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "c46553d2bf3c74bdbba03ecd990bc1a9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2765,
"upload_time": "2016-10-10T15:44:23",
"url": "https://files.pythonhosted.org/packages/74/21/cdc8513eaeaec2d5e1fa8ee3081380428408313b05bf5d5d54c84eed4bd9/crimg-0.0.3.tar.gz"
}
]
}