ColorArt
ColorArt copied to clipboard
iTunes 11-style color matching code for Android
.. If you do so, your markdown starts to show up properly) Cooooooool library! =) Also, I'm interested, do you use some kind of random heuristics points or just scan...
Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:28:9-36 is also present at [org.michaelevans.colorart:library:0.0.3] AndroidManifest.xml:12:9-35 value=(true). Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:23:5-58:19 to override.
Same code, same bitmaps, but if you're to open app on android up to 4.4 and android 5.0 and more, achieved colors would differs a lot.
java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:710) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:447) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:372) at java.util.ComparableTimSort.sort(ComparableTimSort.java:178) at java.util.ComparableTimSort.sort(ComparableTimSort.java:142) at java.util.Arrays.sort(Arrays.java:1973) at java.util.Collections.sort(Collections.java:1867) at org.michaelevans.colorart.library.ColorArt.findTextColors(ColorArt.java:154) at org.michaelevans.colorart.library.ColorArt.analyzeImage(ColorArt.java:49) at org.michaelevans.colorart.library.ColorArt.(ColorArt.java:44)
I've added Back Button at DetailActivity for Demo. I just think it's easier. I also added the generated `project.properties` files. If you don't want it, I can remove and push...
It seems that the algorithm you're using has a tough time picking out reds. I'm using your library to pick out colors for albums and here is the first example...
Hi, Not so much a bug, more a doc feature request. It would be useful to include some examples of using ColorArt to set the color of other Android UI...