All Projects → florent37 → Picassopalette

florent37 / Picassopalette

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

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Picassopalette

Glidepalette
Android Lollipop Palette is now easy to use with Glide
Stars: ✭ 1,670 (+356.28%)
Mutual labels:  picasso, material, glide, palette, color
Materialimageloading
Material image loading implementation
Stars: ✭ 396 (+8.2%)
Mutual labels:  image, picasso, material, glide, loading
Rximagepicker
Android图片相册预览选择器、支持AndroidX,支持图片的单选、多选、图片预览、图片文件夹切换、在选择图片时调用相机拍照
Stars: ✭ 85 (-76.78%)
Mutual labels:  image, glide, loading
Color.js
Extract colors from an image (0.75 KB) 🎨
Stars: ✭ 42 (-88.52%)
Mutual labels:  image, palette, color
hcv-color
🌈 Color model HCV/HCG is an alternative to HSV and HSL, derived by Munsell color system, usable for Dark and Light themes... 🌈
Stars: ✭ 44 (-87.98%)
Mutual labels:  color, palette
Use Image Color
🎨 A hook to grab a color palette from images. Render a skeleton color while your original image still loading.
Stars: ✭ 222 (-39.34%)
Mutual labels:  image, palette
neon
Provides Jetpack Compose support for different image loading libraries.
Stars: ✭ 13 (-96.45%)
Mutual labels:  picasso, glide
ColorBlender
A .NET library for color matching and palette design.
Stars: ✭ 27 (-92.62%)
Mutual labels:  color, palette
Vue Image Loader
Vue progressive image loader plugin like Medium
Stars: ✭ 47 (-87.16%)
Mutual labels:  image, loading
anypalette.js
🎨 Read/write all color palette file formats ❤🧡💛💚💙💜
Stars: ✭ 41 (-88.8%)
Mutual labels:  color, palette
BaseDevelop
an android project for now fashion open source framework
Stars: ✭ 24 (-93.44%)
Mutual labels:  picasso, glide
Contrast Swatch
🅰️ Image microservice for color contrast information
Stars: ✭ 210 (-42.62%)
Mutual labels:  image, color
Draggableimageviewer
大图浏览 & 图片查看&拖拽退出。类似于微信、B站的图片 & 视频浏览器。
Stars: ✭ 153 (-58.2%)
Mutual labels:  image, glide
AvatarImageGenerator
Android library to generate image avatar from the first letter of a username. Letter avatar like Gmail Android best practice
Stars: ✭ 61 (-83.33%)
Mutual labels:  picasso, glide
Colorwaver
🎨 An app to detect color palettes in the real world - powered by VisionCamera
Stars: ✭ 365 (-0.27%)
Mutual labels:  color, palette
pantone-colors
Hex values of all 2310 Pantone colors
Stars: ✭ 147 (-59.84%)
Mutual labels:  color, palette
material-design-color-palette
🎨Material Design color palette pluin for IntelliJ based IDEs.
Stars: ✭ 19 (-94.81%)
Mutual labels:  color, palette
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (-25.96%)
Mutual labels:  palette, color
Ruby Gem Downloads Badge
Clean and simple gem downloads count badge, courtesy of http://shields.io/. You can checkout the application directly at the following URL:
Stars: ✭ 29 (-92.08%)
Mutual labels:  image, color
Coolhue
Coolest Gradient Hues and Swatches
Stars: ✭ 3,307 (+803.55%)
Mutual labels:  palette, color

PicassoPalette

Android app on Google Play

Android Arsenal

Alt sample

Download

Buy Me a Coffee at ko-fi.com

In your module Download

compile 'com.github.florent37:picassopalette:2.0.0'
compile 'com.squareup.picasso:picasso:2.5.2'

Sample

Picasso.with(this).load(url.toString()).into(imageView,
         PicassoPalette.with(url.toString(), imageView)
               .use(PicassoPalette.Profile.MUTED_DARK)
                   .intoBackground(textView)
                   .intoTextColor(textView)

               .use(PicassoPalette.Profile.VIBRANT)
                    .intoBackground(titleView, PicassoPalette.Swatch.RGB)
                    .intoTextColor(titleView, PicassoPalette.Swatch.BODY_TEXT_COLOR)
         );

Initialisation

First, init PicassoPalette with an Url and an ImageView

PicassoPalette.with(url.toString(), imageView)

Palettes

You can successively use following palettes :

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

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

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

Swatches

With the following Swatchs

  • 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)

CallBack

Or simply return into CallBack

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

TODO

Community

Looking for contributors, feel free to fork !

Dependencies

Credits

Author: Florent Champigny

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].