{
"info": {
"author": "Matt Westcott",
"author_email": "matt@west.co.tt",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Graphics Conversion"
],
"description": "pyrecoil\n========\n\n*pyrecoil* provides Python bindings to `RECOIL `_, the Retro Computer Image Library, allowing you to open over 200 image file formats from retro computers.\n\nInstallation\n~~~~~~~~~~~~\n\n::\n\n pip install pyrecoil\n\n``pyrecoil`` is most useful when installed in conjunction with `Pillow `_, the active fork of the Python Image Library::\n\n pip install Pillow\n\nUsage\n~~~~~\n\n::\n\n from recoil import RecoilImage\n\n # load image from disk and decode it:\n img = RecoilImage(\"foo.lbm\")\n\n # load image from an existing file handle:\n # (filename must still be provided, as a hint to the decoder)\n img = RecoilImage(\"foo.lbm\", f)\n\n # inspecting properties:\n img.colors # number of colors used in the image\n > 16\n\n img.frames # number of alternating frames (used for 'interlace' / 'gigascreen' effects)\n > 1\n\n img.size # return a tuple of (width, height)\n > (320, 200)\n\n img.original_size # for images that have been resized to account for non-square pixels\n > (320, 200)\n\n img.platform\n > 'Amiga'\n\n # Retrieving pixel data -\n # returns a bytearray consisting of three bytes (r, g, b) for each pixel,\n # in left-to-right, top-to-bottom order\n pixels = img.get_pixels()\n\n # convert to a PIL / Pillow image object:\n pil_image = img.to_pil()\n pil_image.save('foo.png')\n\nBuild notes\n~~~~~~~~~~~\n\nThe RECOIL library itself (bundled in the ``recoil-3.2.0`` directory) is implemented in the `\u0106 Programming Language `_. For ease of distribution, the generated C output (``recoil.c`` and ``recoil.h``) from the ``cito`` transpiler is included in the package - this, along with ``recoil_interface.c``, forms the Python extension module.\n\nAuthor\n~~~~~~\n\nMatt Westcott - matt@west.co.tt, http://twitter.com/gasmanic",
"description_content_type": null,
"docs_url": null,
"download_url": null,
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/gasman/pyrecoil",
"keywords": null,
"license": "GPLv2+",
"maintainer": null,
"maintainer_email": null,
"name": "pyrecoil",
"package_url": "https://pypi.org/project/pyrecoil/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/pyrecoil/",
"project_urls": {
"Homepage": "http://github.com/gasman/pyrecoil"
},
"release_url": "https://pypi.org/project/pyrecoil/0.2/",
"requires_dist": null,
"requires_python": null,
"summary": "Python bindings for RECOIL, the Retro Computer Image Library",
"version": "0.2"
},
"last_serial": 2234035,
"releases": {
"0.1": [],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "56f43321e3b36f7b6a1f5e4a717c94dd",
"sha256": "884f65f93ecd1128917b81634485a7acc72ade64869fbae87162b1290ce11412"
},
"downloads": -1,
"filename": "pyrecoil-0.1.1-cp27-none-macosx_10_6_intel.whl",
"has_sig": false,
"md5_digest": "56f43321e3b36f7b6a1f5e4a717c94dd",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 166497,
"upload_time": "2015-02-22T22:29:56",
"url": "https://files.pythonhosted.org/packages/72/64/f78225db19a4d849ce32ceed13ca348627569b55a8a5528eec921e8453b8/pyrecoil-0.1.1-cp27-none-macosx_10_6_intel.whl"
},
{
"comment_text": "",
"digests": {
"md5": "228d3b3d5b6171ae9b2f5da5b325345b",
"sha256": "7210731826137ec07dd300ef0161385dd44eec91c1a7174047dab6a2a916f0a3"
},
"downloads": -1,
"filename": "pyrecoil-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "228d3b3d5b6171ae9b2f5da5b325345b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 393248,
"upload_time": "2015-02-22T22:29:49",
"url": "https://files.pythonhosted.org/packages/7f/4f/4160edf2e000a4a652e1ba9a41fe5cf1e5f4e6c4a9972537a5fc46656d93/pyrecoil-0.1.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "ce684f1d85b446ec731ab10b3793651b",
"sha256": "66596e9cbaf2b9ac90109adbaccb21a4fde09c92a7578ab76b65d79dbc89a809"
},
"downloads": -1,
"filename": "pyrecoil-0.2-cp27-cp27m-macosx_10_6_intel.whl",
"has_sig": false,
"md5_digest": "ce684f1d85b446ec731ab10b3793651b",
"packagetype": "bdist_wheel",
"python_version": "cp27",
"requires_python": null,
"size": 208111,
"upload_time": "2016-07-20T20:49:32",
"url": "https://files.pythonhosted.org/packages/57/e1/2e3b9c855d3afdea4cc560c0b6b29474633096d449a31f91ef59c184bc9b/pyrecoil-0.2-cp27-cp27m-macosx_10_6_intel.whl"
},
{
"comment_text": "",
"digests": {
"md5": "182ff8834023385b6cefc6dcca098ec0",
"sha256": "48e682a50226340d2acddabd89218b9ee142716410d8ab19e211d33448c04b7e"
},
"downloads": -1,
"filename": "pyrecoil-0.2.tar.gz",
"has_sig": false,
"md5_digest": "182ff8834023385b6cefc6dcca098ec0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 72677,
"upload_time": "2016-07-20T20:49:37",
"url": "https://files.pythonhosted.org/packages/60/0a/92be319ccc0e5ff7080fd847cfe170eeda827d36fb2ddffecba31d77a5fc/pyrecoil-0.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ce684f1d85b446ec731ab10b3793651b",
"sha256": "66596e9cbaf2b9ac90109adbaccb21a4fde09c92a7578ab76b65d79dbc89a809"
},
"downloads": -1,
"filename": "pyrecoil-0.2-cp27-cp27m-macosx_10_6_intel.whl",
"has_sig": false,
"md5_digest": "ce684f1d85b446ec731ab10b3793651b",
"packagetype": "bdist_wheel",
"python_version": "cp27",
"requires_python": null,
"size": 208111,
"upload_time": "2016-07-20T20:49:32",
"url": "https://files.pythonhosted.org/packages/57/e1/2e3b9c855d3afdea4cc560c0b6b29474633096d449a31f91ef59c184bc9b/pyrecoil-0.2-cp27-cp27m-macosx_10_6_intel.whl"
},
{
"comment_text": "",
"digests": {
"md5": "182ff8834023385b6cefc6dcca098ec0",
"sha256": "48e682a50226340d2acddabd89218b9ee142716410d8ab19e211d33448c04b7e"
},
"downloads": -1,
"filename": "pyrecoil-0.2.tar.gz",
"has_sig": false,
"md5_digest": "182ff8834023385b6cefc6dcca098ec0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 72677,
"upload_time": "2016-07-20T20:49:37",
"url": "https://files.pythonhosted.org/packages/60/0a/92be319ccc0e5ff7080fd847cfe170eeda827d36fb2ddffecba31d77a5fc/pyrecoil-0.2.tar.gz"
}
]
}