{"id":15132630,"url":"https://github.com/florent37/glidepalette","last_synced_at":"2025-09-29T00:32:45.906Z","repository":{"id":35054933,"uuid":"39187258","full_name":"florent37/GlidePalette","owner":"florent37","description":"Android Lollipop Palette is now easy to use with Glide","archived":true,"fork":false,"pushed_at":"2020-07-02T11:50:51.000Z","size":2717,"stargazers_count":1669,"open_issues_count":6,"forks_count":225,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-09-13T17:36:14.001Z","etag":null,"topics":["android","color","glide","lollipop","material","palette","picasso"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pandas-dev/pandas-governance","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/florent37.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":"2015-07-16T09:01:55.000Z","updated_at":"2025-09-06T21:00:25.000Z","dependencies_parsed_at":"2022-09-08T09:42:47.451Z","dependency_job_id":null,"html_url":"https://github.com/florent37/GlidePalette","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/florent37/GlidePalette","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FGlidePalette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FGlidePalette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FGlidePalette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FGlidePalette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florent37","download_url":"https://codeload.github.com/florent37/GlidePalette/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FGlidePalette/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277450939,"owners_count":25819971,"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","status":"online","status_checked_at":"2025-09-28T02:00:08.834Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","color","glide","lollipop","material","palette","picasso"],"created_at":"2024-09-26T04:21:58.580Z","updated_at":"2025-09-29T00:32:45.502Z","avatar_url":"https://github.com/florent37.png","language":"Java","funding_links":["https://ko-fi.com/A160LCC'"],"categories":[],"sub_categories":[],"readme":"GlidePalette\n=======\n\n![Alt sample](https://raw.githubusercontent.com/florent37/GlidePalette/master/screenshot/night_small_2.png)\n\n\n\u003ca href=\"https://goo.gl/WXW8Dc\"\u003e\n  \u003cimg alt=\"Android app on Google Play\" src=\"https://developer.android.com/images/brand/en_app_rgb_wo_45.png\" /\u003e\n\u003c/a\u003e\n\n\n\n# Download\n\n\u003ca href='https://ko-fi.com/A160LCC' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\nIn your module [![Download](https://api.bintray.com/packages/florent37/maven/GlidePalette/images/download.svg)](https://bintray.com/florent37/maven/GlidePalette/_latestVersion)\n```groovy\ncompile 'com.github.florent37:glidepalette:2.1.2'\n\ncompile 'com.github.bumptech.glide:glide:4.6.1'\n```\n\n# Sample\n\n```java\nGlide.with(this).load(url)\n         .listener(GlidePalette.with(url)\n               .use(GlidePalette.Profile.MUTED_DARK)\n                   .intoBackground(textView)\n                   .intoTextColor(textView)\n\n               .use(GlidePalette.Profile.VIBRANT)\n                    .intoBackground(titleView, GlidePalette.Swatch.RGB)\n                    .intoTextColor(titleView, GlidePalette.Swatch.BODY_TEXT_COLOR)\n                    .crossfade(true)\n         );\n         .into(imageView);\n```\n\n## Initialisation\n\nFirst, init GlidePalette with an **Url**\n\n```java\nGlidePalette.with(url)\n```\n\n## Palettes\n\nYou can successively use following Palettes :\n\n- Palette.VIBRANT\n- Palette.VIBRANT_DARK\n- Palette.VIBRANT_LIGHT\n- Palette.MUTED\n- Palette.MUTED_DARK\n- Palette.MUTED_LIGHT\n\n```java\n.use(GlidePalette.Profile.MUTED_DARK)\n```\n\n**Each time you call \"use\" the next modification will follow this Profile**\n\n```java\n.use(GlidePalette.Profile.MUTED_DARK)\n    //next operations will use Profile.MUTED_DARK\n.use(GlidePalette.Profile.VIBRANT)\n    //next operations will use Profile.VIBRANT\n```\n\n## Swatches\n\nWith the following Swatches\n\n- RGB\n- TITLE_TEXT_COLOR\n- BODY_TEXT_COLOR\n\n## Targets\n\nInto Backgrounds\n\n```java\n.intoBackground(view)\n.intoBackground(view,Swatch.RGB)\n```\n\nAnd TextView Color\n\n```java\n.intoTextColor(textView)\n.intoTextColor(textView,Swatch.TITLE_TEXT_COLOR)\n```\n\nwith optional Background Crossfade effect\n```java\n.crossfade(true)\n    // will use default 300ms crossfade\n.crossfade(true, 1000)\n    // specify own crossfade speed in ms\n```\n\n# CallBack\n\nOr simply return into CallBack\n\n```java\n.intoCallBack(\n    new GlidePalette.CallBack() {\n          @Override\n          public void onPaletteLoaded(Palette palette) {\n              //specific task\n          }\n    })\n```\n\n\n# TODO\n\n# Community\n\nLooking for contributors, feel free to fork !\n\n# Dependencies\n\n- Glide from Bumptech : [https://github.com/bumptech/glide][glide]\n\n# Credits\n\nAuthor: Florent Champigny\n\nFiches Plateau Moto : [https://www.fiches-plateau-moto.fr/](https://www.fiches-plateau-moto.fr/)\n\n\u003ca href=\"https://goo.gl/WXW8Dc\"\u003e\n  \u003cimg alt=\"Android app on Google Play\" src=\"https://developer.android.com/images/brand/en_app_rgb_wo_45.png\" /\u003e\n\u003c/a\u003e\n\n\n\u003ca href=\"https://plus.google.com/+florentchampigny\"\u003e\n  \u003cimg alt=\"Follow me on Google+\"\n       src=\"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/gplus.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://twitter.com/florent_champ\"\u003e\n  \u003cimg alt=\"Follow me on Twitter\"\n       src=\"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/twitter.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.linkedin.com/in/florentchampigny\"\u003e\n  \u003cimg alt=\"Follow me on LinkedIn\"\n       src=\"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/linkedin.png\" /\u003e\n\u003c/a\u003e\n\n# License\n\n    Copyright 2015 florent37, Inc.\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\n\n[snap]: https://oss.sonatype.org/content/repositories/snapshots/\n[glide]: https://github.com/bumptech/glide\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorent37%2Fglidepalette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorent37%2Fglidepalette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorent37%2Fglidepalette/lists"}