All Projects → florent37 → Glidepalette

florent37 / Glidepalette

Licence: apache-2.0
Android Lollipop Palette is now easy to use with Glide

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Glidepalette

Picassopalette
Android Lollipop Palette is now easy to use with Picasso !
Stars: ✭ 366 (-78.08%)
Mutual labels:  picasso, material, glide, palette, color
Materialimageloading
Material image loading implementation
Stars: ✭ 396 (-76.29%)
Mutual labels:  picasso, material, glide
Calico
cat, but for colors 😼
Stars: ✭ 122 (-92.69%)
Mutual labels:  palette, color
R Color Palettes
Comprehensive list of color palettes available in r ❤️🧡💛💚💙💜
Stars: ✭ 708 (-57.6%)
Mutual labels:  palette, color
Kirby Color Palette
A color palette to pick colors from in the panel. Kirby 3 only.
Stars: ✭ 47 (-97.19%)
Mutual labels:  palette, color
Sketch swatches
A swatches plugin for Sketch.
Stars: ✭ 446 (-73.29%)
Mutual labels:  palette, color
Scrollgalleryview
🌉 Android image gallery with bottom scroll view
Stars: ✭ 481 (-71.2%)
Mutual labels:  picasso, glide
Color.js
Extract colors from an image (0.75 KB) 🎨
Stars: ✭ 42 (-97.49%)
Mutual labels:  palette, color
Polychrome
🎨 Easy color manipulation in ~2kb (gzipped)
Stars: ✭ 286 (-82.87%)
Mutual labels:  palette, color
Xcodecolorsense
🎈 An Xcode plugin that makes working with color easier
Stars: ✭ 79 (-95.27%)
Mutual labels:  palette, color
Color Names
Large list of handpicked color names 🌈
Stars: ✭ 1,198 (-28.26%)
Mutual labels:  palette, color
Colors App
🎨 A PWA for copying values from popular color palettes. Supports HEX, RGB, and HSL formats.
Stars: ✭ 90 (-94.61%)
Mutual labels:  material, color
Composable Images
The Composable Images is a library providing Jetpack Compose wrapper for Glide, Picasso, and Coil.
Stars: ✭ 107 (-93.59%)
Mutual labels:  picasso, glide
Alembic
⚗️ Extract a color palette from Sketch images
Stars: ✭ 565 (-66.17%)
Mutual labels:  palette, color
Coolhue
Coolest Gradient Hues and Swatches
Stars: ✭ 3,307 (+98.02%)
Mutual labels:  palette, color
Gallery
图片缩放以及相册的实现
Stars: ✭ 24 (-98.56%)
Mutual labels:  picasso, glide
Colorwaver
🎨 An app to detect color palettes in the real world - powered by VisionCamera
Stars: ✭ 365 (-78.14%)
Mutual labels:  color, palette
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (-83.77%)
Mutual labels:  palette, color
Materialdesigncolor
This project shows the color in material design
Stars: ✭ 55 (-96.71%)
Mutual labels:  material, color
Cyanea
A theme engine for Android
Stars: ✭ 1,319 (-21.02%)
Mutual labels:  material, color

GlidePalette

Alt sample

Android app on Google Play

Download

Buy Me a Coffee at ko-fi.com

In your module Download

compile 'com.github.florent37:glidepalette:2.1.2'

compile 'com.github.bumptech.glide:glide:4.6.1'

Sample

Glide.with(this).load(url)
         .listener(GlidePalette.with(url)
               .use(GlidePalette.Profile.MUTED_DARK)
                   .intoBackground(textView)
                   .intoTextColor(textView)

               .use(GlidePalette.Profile.VIBRANT)
                    .intoBackground(titleView, GlidePalette.Swatch.RGB)
                    .intoTextColor(titleView, GlidePalette.Swatch.BODY_TEXT_COLOR)
                    .crossfade(true)
         );
         .into(imageView);

Initialisation

First, init GlidePalette with an Url

GlidePalette.with(url)

Palettes

You can successively use following Palettes :

  • Palette.VIBRANT
  • Palette.VIBRANT_DARK
  • Palette.VIBRANT_LIGHT
  • Palette.MUTED
  • Palette.MUTED_DARK
  • Palette.MUTED_LIGHT
.use(GlidePalette.Profile.MUTED_DARK)

Each time you call "use" the next modification will follow this Profile

.use(GlidePalette.Profile.MUTED_DARK)
    //next operations will use Profile.MUTED_DARK
.use(GlidePalette.Profile.VIBRANT)
    //next operations will use Profile.VIBRANT

Swatches

With the following Swatches

  • RGB
  • TITLE_TEXT_COLOR
  • BODY_TEXT_COLOR

Targets

Into Backgrounds

.intoBackground(view)
.intoBackground(view,Swatch.RGB)

And TextView Color

.intoTextColor(textView)
.intoTextColor(textView,Swatch.TITLE_TEXT_COLOR)

with optional Background Crossfade effect

.crossfade(true)
    // will use default 300ms crossfade
.crossfade(true, 1000)
    // specify own crossfade speed in ms

CallBack

Or simply return into CallBack

.intoCallBack(
    new GlidePalette.CallBack() {
          @Override
          public void onPaletteLoaded(Palette palette) {
              //specific task
          }
    })

TODO

Community

Looking for contributors, feel free to fork !

Dependencies

Credits

Author: Florent Champigny

Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/

Android app on Google Play Follow me on Google+ Follow me on Twitter Follow me on LinkedIn

License

Copyright 2015 florent37, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].