All Projects → mathiazhagan01 → ProminentColor

mathiazhagan01 / ProminentColor

Licence: Apache-2.0 license
Android Library to get average/prominent color of bitmap/drawable

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ProminentColor

Drawablecolorchange
Android Library to dynamically change color of drawable.
Stars: ✭ 101 (+339.13%)
Mutual labels:  color, bitmap, jitpack, drawable
dynamic-utils
Utility functions to perform dynamic operations on Android.
Stars: ✭ 86 (+273.91%)
Mutual labels:  color, bitmap, drawable
TakingImageOfAView
An example on how to take screenshot of a particular view
Stars: ✭ 15 (-34.78%)
Mutual labels:  bitmap, drawable
Extract-Color-Palette-Api
Create gradient drawable by extracting prominent colors from image⚫⚪
Stars: ✭ 16 (-30.43%)
Mutual labels:  color, drawable
Gaussianblur
An easy and fast library to apply gaussian blur filter on any images. 🎩
Stars: ✭ 473 (+1956.52%)
Mutual labels:  bitmap, drawable
ViewColorGenerator
A library to generate color palette for view, imageview and image from URL.
Stars: ✭ 29 (+26.09%)
Mutual labels:  color, drawable
console-logging
Better, prettier commandline logging for Python--with colors! 👻
Stars: ✭ 111 (+382.61%)
Mutual labels:  color
cfmt
Small library for simple and convenient formatted stylized output to the console.
Stars: ✭ 46 (+100%)
Mutual labels:  color
imageman
Image manipulation library. Use Pixie instead.
Stars: ✭ 58 (+152.17%)
Mutual labels:  color
color-api
A proposal and draft spec for a Color object for the Web Platform, loosely influenced by our Color.js work. Heavily WIP, if you landed here randomly, please move along.
Stars: ✭ 102 (+343.48%)
Mutual labels:  color
XYColor
An easy way to adapter dark mode on CALayer. iOS 快速适配夜间模式
Stars: ✭ 76 (+230.43%)
Mutual labels:  color
SheetyColors
An action sheet styled color picker for iOS.
Stars: ✭ 101 (+339.13%)
Mutual labels:  color
icc
JavaScript module to parse International Color Consortium (ICC) profiles
Stars: ✭ 37 (+60.87%)
Mutual labels:  color
flutter colorgen
a Flutter MaterialColor generator example
Stars: ✭ 12 (-47.83%)
Mutual labels:  color
prism
Colour management for Go
Stars: ✭ 26 (+13.04%)
Mutual labels:  color
gradient-rs
A command line tool for playing with color gradients
Stars: ✭ 93 (+304.35%)
Mutual labels:  color
colorama
A Gem for extracting the most prevalent colors from an image
Stars: ✭ 20 (-13.04%)
Mutual labels:  color
color-tailor
Dynamic theme for Firefox that uses the current website's "primary" color
Stars: ✭ 55 (+139.13%)
Mutual labels:  color
BlueVGA
VGA library for STM32F103C (BluePill) that can manipulate a screen with 28x30 tiles with 8x8 pixels each, in a total resolution of 224x240 pixels with 8 colors using a very low footprint
Stars: ✭ 39 (+69.57%)
Mutual labels:  bitmap
global-color-picker
start the script and click anywhere to get rgb value at the cursor location
Stars: ✭ 31 (+34.78%)
Mutual labels:  color

ProminentColor

Android Library to get average/prominent color of bitmap/drawable

Android Arsenal Codix

If you like the library, please rate us on codix.io!

Gradle

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		// ...
		maven { url "https://jitpack.io" }
	}
}

Step 2. Add the dependency

dependencies {
	compile 'com.github.mathiazhagan01:ProminentColor:v1.0'
}

Maven

Step 1. Add the JitPack repository to your build file

<repositories>
	<repository>
		<id>jitpack.io</id>
		<url>https://jitpack.io</url>
	</repository>
</repositories>

Step 2. Add the dependency

<dependency>
	<groupId>com.github.mathiazhagan01</groupId>
	<artifactId>ProminentColor</artifactId>
	<version>V1.0</version>
</dependency>

Screenshot

Screenshot

Screenshot

Example 1

ProminentColor prominentColor = new ProminentColor();   

prominentColor.setBitmap(bitmap);
prominentColor.getColor(new ProminentColorListener() {
	@Override
	public void onGettingColor(int color) {
		if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
			getWindow().setStatusBarColor(color)
		}

		colorButton.setBackgroundColor(color);
	}
});

LICENSE

ProminentColor library for Android
Copyright (c) 2017 Mathiazhagan Dinesh (http://github.com/mathiazhagan01).

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