{"id":19508621,"url":"https://github.com/commit451/coil-transformations","last_synced_at":"2025-04-05T01:06:55.450Z","repository":{"id":35328491,"uuid":"204037838","full_name":"Commit451/coil-transformations","owner":"Commit451","description":"Image transformations for Coil","archived":false,"fork":false,"pushed_at":"2024-11-08T07:58:42.000Z","size":9418,"stargazers_count":156,"open_issues_count":5,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T00:09:28.583Z","etag":null,"topics":["coil","image-transformations","images","kotlin","kotlin-android"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Commit451.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-23T16:55:50.000Z","updated_at":"2025-03-08T18:53:15.000Z","dependencies_parsed_at":"2025-02-24T16:23:15.702Z","dependency_job_id":null,"html_url":"https://github.com/Commit451/coil-transformations","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2Fcoil-transformations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2Fcoil-transformations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2Fcoil-transformations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2Fcoil-transformations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Commit451","download_url":"https://codeload.github.com/Commit451/coil-transformations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271530,"owners_count":20911587,"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":["coil","image-transformations","images","kotlin","kotlin-android"],"created_at":"2024-11-10T23:08:24.582Z","updated_at":"2025-04-05T01:06:55.432Z","avatar_url":"https://github.com/Commit451.png","language":"Kotlin","readme":"# coil-transformations\nImage transformations for [Coil](https://github.com/coil-kt/coil).\n\n[![](https://jitpack.io/v/Commit451/coil-transformations.svg)](https://jitpack.io/#Commit451/coil-transformations)\n\n## Download\nAdd this in your root `build.gradle` file (**not** your module `build.gradle` file):\n\n```gradle\nallprojects {\n\trepositories {\n\t\t...\n\t\tmaven { url \"https://jitpack.io\" }\n\t}\n}\n```\nThen, add the library to your app `build.gradle`\n```kotlin\nimplementation(\"com.github.Commit451.coil-transformations:transformations:latest.version.here\")\n```\nand for GPU (native) transformations (relies on [GPUImage](https://github.com/cats-oss/android-gpuimage)):\n```kotlin\nimplementation(\"com.github.Commit451.coil-transformations:transformations-gpu:latest.version.here\")\n```\nand for Google MLKit Face detection transformations:\n```kotlin\nimplementation(\"com.github.Commit451.coil-transformations:transformations-face-detection:latest.version.here\")\n```\n## Supported Transformations\nThese transformations are already supported in Coil itself (no need for this library):\n- CircleCropTransformation\n- RoundedCornersTransformation\n\nFrom the base library (`transformations`):\n- BlurTransformation\n- ColorFilterTransformation\n- CropTransformation (top, center, bottom)\n- GrayscaleTransformation\n- MaskTransformation\n- SquareCropTransformation\n\nFrom the GPU library (`transformations-gpu`)\n- BrightnessFilterTransformation\n- ContrastFilterTransformation\n- InvertFilterTransformation\n- KuwaharaFilterTransformation\n- PixelationFilterTransformation\n- SepiaFilterTransformation\n- SketchFilterTransformation\n- SwirlFilterTransformation\n- ToonFilterTransformation\n- VignetteFilterTransformation\n\nFrom the face detection library (`transformations-center-on-face`)\n- CenterOnFaceTransformation\n\n## Quick Start\nTo load an image into an `ImageView` with transformations, use the `load` extension function:\n```kotlin\nimageView.load(\"https://www.example.com/image.jpg\") {\n    transformations(BlurTransformation(), CircleCropTransformation()) // You can add as many as desired\n}\n```\n\n## Preview\nSee a preview of the transformations [here](https://github.com/Commit451/coil-transformations/blob/master/preview/preview.md)\n\n## Thanks\nInspired by [Glide Transformations](https://github.com/wasabeef/glide-transformations) by [wasabeef](https://github.com/wasabeef). Thanks of course to [Coil](https://github.com/coil-kt/coil) contributors for making a great image loading library.\n\n## License\n\n    Copyright 2024 Commit 451\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       https://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommit451%2Fcoil-transformations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommit451%2Fcoil-transformations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommit451%2Fcoil-transformations/lists"}