{"id":21442461,"url":"https://github.com/cryptex-github/ril-py","last_synced_at":"2025-07-14T17:33:03.733Z","repository":{"id":50712602,"uuid":"519910118","full_name":"Cryptex-github/ril-py","owner":"Cryptex-github","description":"Rust Imaging Library's Python binding: A performant and high-level image processing library for Python written in Rust","archived":false,"fork":false,"pushed_at":"2023-01-18T19:10:09.000Z","size":189,"stargazers_count":28,"open_issues_count":4,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T14:49:26.622Z","etag":null,"topics":["image-processing","pyo3","python","rust"],"latest_commit_sha":null,"homepage":"https://ril-py.readthedocs.io/en/latest","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cryptex-github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-31T23:36:43.000Z","updated_at":"2024-09-13T14:39:41.000Z","dependencies_parsed_at":"2023-02-10T17:15:41.188Z","dependency_job_id":null,"html_url":"https://github.com/Cryptex-github/ril-py","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cryptex-github%2Fril-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cryptex-github%2Fril-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cryptex-github%2Fril-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cryptex-github%2Fril-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cryptex-github","download_url":"https://codeload.github.com/Cryptex-github/ril-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225990453,"owners_count":17556153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-processing","pyo3","python","rust"],"created_at":"2024-11-23T01:54:23.814Z","updated_at":"2024-11-23T01:54:24.325Z","avatar_url":"https://github.com/Cryptex-github.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ril-py\n**R**ust **I**maging **L**ibrary for Python: Python bindings for [ril](https://github.com/jay3332/ril), a performant and high-level image processing library written in Rust.\n\n## What's this?\nThis is a python binding around [ril](https://github.com/jay3332/ril) designed to provide an easy-to-use, high-level interface\naround image processing in Rust. Image and animation processing has never been\nthis easy and fast before.\n\n## Support\n⚠ This package is a work in progress and it heavily depends on the progress of [ril](https://github.com/jay3332/ril)\n\nBy the first stable release, we plan to support the following image encodings:\n\n| Encoding Format | Current Status     |\n|-----------------|--------------------|\n| PNG / APNG      |     Supported      |\n| JPEG            |     Supported      |\n| GIF             |     Supported      |\n| WebP            | Can't support [(#8)](https://github.com/Cryptex-github/ril-py/issues/8) |\n| BMP             | Not yet supported  |\n| TIFF            | Not yet supported  |\n\n## Installation\n\n### Prebuilt wheels\n\nThere will be prebuilt wheels for these platforms:\n\n* Linux x86-64: Cpython 3.7+, PyPy 3.7, 3.8, 3.9\n* MacOS x86-64: Cpython 3.7+, PyPy 3.7, 3.8, 3.9\n* Windows x86-64: Cpython 3.7+, PyPy 3.7, 3.8, 3.9\n* Linux i686: Cpython 3.7+, PyPy 3.7, 3.8, 3.9\n* MacOS aarch64: Cpython 3.8+\n\nIf you want another platform to have prebuilt wheels, please open an issue.\n\nCPython 3.11 support will be available once its ABI has been stabilized. \n\nIf your platform has prebuilt wheels, installing is as simple as\n\n```\npip install ril\n```\n\n### Building from Source\nIn order to build from source, you will need to have the Rust compiler available in your PATH. See documentation on [https://rust-lang.org](https://rust-lang.org) to learn how to install Rust on your platform.\n\nThen building is as simple as\n\n```\npip install ril\n```\n\nor from Github\n\n```\npip install git+https://github.com/Cryptex-github/ril-py\n```\n\nPip will handle the building process.\n\n\n## Examples\n\n#### Open an image, invert it, and then save it:\n```py\nfrom ril import Image\n\nimage = Image.open(\"example.png\")\nimage.invert()\n\nimage.save(\"example.png\")\n```\n\n#### Create a new black image, open the sample image, and paste it on top of the black image:\n```py\nfrom ril import Image, Pixel\n\nimage = Image.new(600, 600, Pixel.from_rgb(0, 0, 0))\nimage.paste(100, 100, Image.open(\"sample.png\"))\n\nimage.save(\"sample_on_black.png\", \"PNG\") # You can also specify format if you like\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptex-github%2Fril-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptex-github%2Fril-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptex-github%2Fril-py/lists"}