{ "info": { "author": "Phil Adams", "author_email": "phil@philadams.net", "bugtrack_url": null, "classifiers": [], "description": "dimensions\n==========\n\nA pure Python library for reading the width and height of images.\n\ninstallation\n------------\n\n`pip install dimensions`\n\nDone.\n\nusage\n-----\n\nFor a single image:\n\n > dimensions src/sample.png\n src/sample.png\n width: 405\n height: 239\n content_type: image/png\n\nWildcards also work (escape \\* in markdown for PyPi RST...):\n\n > dimensions src/\\*.png\n src/sample.png\n width: 405\n height: 239\n content_type: image/png\n src/sample2.png\n width: 473\n height: 469\n content_type: image/png\n\nAs always, full details are available via `dimensions -h`.\n\nIn Python code, simply call `dimensions.dimensions`. If you provide a\nsequence of filenames, you get back a sequence of tuples; if you provide\njust a single filename, you get back a single tuple.\n\n import dimensions\n dims = dimensions.dimensions('./src/sample.png')\n # (405, 239, 'image/png', './src/sample.png')\n\nfuture\n------\n\n- release newer version to PyPi", "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/philadams/dimensions", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "dimensions", "package_url": "https://pypi.org/project/dimensions/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dimensions/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/philadams/dimensions" }, "release_url": "https://pypi.org/project/dimensions/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Python lib to read width and height of image files", "version": "0.0.2" }, "last_serial": 788969, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "12b0ec84d9a578450582f5286a9e6ba5", "sha256": "18052988b4b6358991883f66cfc427e93aeaf03ba6c3aa521fa2e566385e3581" }, "downloads": -1, "filename": "dimensions-0.0.1.tar.gz", "has_sig": false, "md5_digest": "12b0ec84d9a578450582f5286a9e6ba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2365, "upload_time": "2013-01-23T16:35:57", "url": "https://files.pythonhosted.org/packages/28/b4/8413c52a87facf85500a3d7996bf84241695ccb44de6834060cd819d9971/dimensions-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4848356907452a932e06d21837512df2", "sha256": "06b7ff50f9dd055531a25a6bf291829176d56af5ff3f8a9ab9d5788e30044df7" }, "downloads": -1, "filename": "dimensions-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4848356907452a932e06d21837512df2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3539, "upload_time": "2013-02-19T17:36:27", "url": "https://files.pythonhosted.org/packages/8e/03/05ba33cce90ef375f4f2aa17cf86cfe27a09665dba3947dd94a457084626/dimensions-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4848356907452a932e06d21837512df2", "sha256": "06b7ff50f9dd055531a25a6bf291829176d56af5ff3f8a9ab9d5788e30044df7" }, "downloads": -1, "filename": "dimensions-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4848356907452a932e06d21837512df2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3539, "upload_time": "2013-02-19T17:36:27", "url": "https://files.pythonhosted.org/packages/8e/03/05ba33cce90ef375f4f2aa17cf86cfe27a09665dba3947dd94a457084626/dimensions-0.0.2.tar.gz" } ] }