{"id":13577650,"url":"https://github.com/wasabeef/glide-transformations","last_synced_at":"2025-05-13T17:14:37.117Z","repository":{"id":25578120,"uuid":"29012058","full_name":"wasabeef/glide-transformations","owner":"wasabeef","description":"An Android transformation library providing a variety of image transformations for Glide.","archived":false,"fork":false,"pushed_at":"2022-03-08T16:07:21.000Z","size":26509,"stargazers_count":9927,"open_issues_count":56,"forks_count":1406,"subscribers_count":201,"default_branch":"main","last_synced_at":"2025-04-25T14:41:16.509Z","etag":null,"topics":["android","android-library","glide","image-processing","java","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Java","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/wasabeef.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"wasabeef","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-01-09T10:33:29.000Z","updated_at":"2025-04-25T03:33:47.000Z","dependencies_parsed_at":"2022-07-12T16:08:05.328Z","dependency_job_id":null,"html_url":"https://github.com/wasabeef/glide-transformations","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fglide-transformations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fglide-transformations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fglide-transformations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fglide-transformations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasabeef","download_url":"https://codeload.github.com/wasabeef/glide-transformations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990500,"owners_count":21995776,"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":["android","android-library","glide","image-processing","java","kotlin"],"created_at":"2024-08-01T15:01:23.268Z","updated_at":"2025-05-13T17:14:32.102Z","avatar_url":"https://github.com/wasabeef.png","language":"Java","readme":"Glide Transformations\n======================\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-glide--transformations-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1363)\n[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/jp.wasabeef/glide-transformations/badge.svg)](https://search.maven.org/artifact/jp.wasabeef/glide-transformations)\n\nAn Android transformation library providing a variety of image transformations for [Glide](https://github.com/bumptech/glide).\n\nPlease feel free to use this.\n\n\n#### Are you using Picasso or Fresco?\n[Picasso Transformations](https://github.com/wasabeef/picasso-transformations)  \n[Fresco Processors](https://github.com/wasabeef/fresco-processors)\n\n# Demo\n\n### Original Image\n\u003cimg src=\"art/demo-org.jpg\" width=\"30%\"\u003e\n\n### Transformations\n\u003cimg src=\"art/demo.gif\" width=\"50%\"\u003e\n\n# How do I use it?\n\n## Step 1\n\n#### Gradle\n```groovy\nrepositories {\n  mavenCentral()\n}\n\ndependencies {\n  implementation 'jp.wasabeef:glide-transformations:4.3.0'\n  // If you want to use the GPU Filters\n  implementation 'jp.co.cyberagent.android:gpuimage:2.1.0'\n}\n```\n\n## Step 2\n\nSet Glide Transform.\n\n```kotlin\nGlide.with(this).load(R.drawable.demo)\n  .apply(RequestOptions.bitmapTransform(BlurTransformation(25, 3)))\n  .into(imageView)\n```\n\n## Advanced Step 3\n\nYou can set a multiple transformations.\n\n```kotlin\nval multi = MultiTransformation\u003cBitmap\u003e(\n  BlurTransformation(25),\n  RoundedCornersTransformation(128, 0, CornerType.BOTTOM))))\nGlide.with(this).load(R.drawable.demo)\n  .apply(RequestOptions.bitmapTransform(multi))\n  .into(imageView))\n```\n\n## Transformations\n\n### Crop\n- `CropTransformation`\n- `CropCircleTransformation`\n- `CropCircleWithBorderTransformation`\n- `CropSquareTransformation`\n- `RoundedCornersTransformation`\n\n### Color\n- `ColorFilterTransformation`\n- `GrayscaleTransformation`\n\n### Blur\n- `BlurTransformation`\n\n### Mask\n- `MaskTransformation`\n\n### GPU Filter (use [GPUImage](https://github.com/CyberAgent/android-gpuimage))\n**Will require add dependencies for GPUImage.**  \n\n- `ToonFilterTransformation`\n- `SepiaFilterTransformation`\n- `ContrastFilterTransformation`\n- `InvertFilterTransformation`\n- `PixelationFilterTransformation`\n- `SketchFilterTransformation`\n- `SwirlFilterTransformation`\n- `BrightnessFilterTransformation`\n- `KuwaharaFilterTransformation`\n- `VignetteFilterTransformation`\n\n\nApplications using Glide Transformations\n---\n\nPlease [ping](mailto:dadadada.chop@gmail.com) me or send a pull request if you would like to be added here.\n\nIcon | Application\n------------ | -------------\n\u003cimg src=\"https://lh6.ggpht.com/6zKH_uQY1bxCwXL4DLo_uoFEOXdShi3BgmN6XRHlaJ-oA1svmq6y1PZkmO50nWQn2Lg=w300-rw\" width=\"48\" height=\"48\" /\u003e | [Ameba Ownd](https://play.google.com/store/apps/details?id=jp.co.cyberagent.madrid)\n\u003cimg src=\"https://lh3.googleusercontent.com/ZOrekp-ho-ecWG1TyvuOs0LoB5M4QYWCCLS5lFbAHhp_SklSd06544ENG3uC97zGWes=w300-rw\" width=\"48\" height=\"48\" /\u003e | [AbemaTV](https://play.google.com/store/apps/details?id=tv.abema)\n\u003cimg src=\"https://lh3.googleusercontent.com/eikxMAKKMU2O-rV-oUg04dGp-O4Aoje91kffDlnCB_3DCIPDzzADxdBOdPCW18Lmqw=w300-rw\" width=\"48\" height=\"48\" /\u003e | [TV Time](https://play.google.com/store/apps/details?id=com.tozelabs.tvshowtime)\n\u003cimg src=\"https://play-lh.googleusercontent.com/sGt1rxE4naYmO_6sCquGLa5zHeh_3AZQGtBKhU8PGuXDa-MeUK25aSI-iZJlMDUVli9c=s300-rw\" width=\"48\" height=\"48\" /\u003e | [Christmas Radio](https://play.google.com/store/apps/details?id=nl.netwaves.christmasradio)\n\n\n\nDeveloped By\n-------\nDaichi Furiya (Wasabeef) - \u003cdadadada.chop@gmail.com\u003e\n\n\u003ca href=\"https://twitter.com/wasabeef_jp\"\u003e\n\u003cimg alt=\"Follow me on Twitter\"\nsrc=\"https://raw.githubusercontent.com/wasabeef/art/master/twitter.png\" width=\"75\"/\u003e\n\u003c/a\u003e\n\nContributions\n-------\n\nAny contributions are welcome!\n\nContributors\n-------\n\n* [start141](https://github.com/start141)\n* [squeeish](https://github.com/squeeish)\n\nThanks\n-------\n\n* Inspired by `Picasso Transformations` in [TannerPerrien](https://github.com/TannerPerrien).\n\nLicense\n-------\n\n    Copyright (C) 2020 Wasabeef\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       http://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":["https://github.com/sponsors/wasabeef"],"categories":["Java","图片","Android 应用","Libs"],"sub_categories":["网络服务_其他","\u003cA NAME=\"Image_Loading\"\u003e\u003c/A\u003eImage Loading"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fglide-transformations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasabeef%2Fglide-transformations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fglide-transformations/lists"}