tangdiforx / iospalette Goto Github PK
View Code? Open in Web Editor NEWObjective-C version of Google Palette algorithm in Java.A tool to extract the main color of an image.
Objective-C version of Google Palette algorithm in Java.A tool to extract the main color of an image.
断点 是在 getAverageColor 方法里面崩的,你的_lowerIndex > _upperIndex
0 ??? | 0x00000001f0edb954 + 0 |
---|---|
1 SHIPhone | -[Palette generateScoreForTarget:swatch:] + 208 |
2 SHIPhone | -[Palette generateScoreForTarget:swatch:] + 208 |
3 SHIPhone | -[Palette getMaxScoredSwatchForTarget:] + 796 |
4 SHIPhone | -[Palette getSwatchForTarget] + 352 |
5 libdispatch.dylib | __dispatch_call_block_and_release + 32 |
6 libdispatch.dylib | __dispatch_client_callout + 20 |
7 libdispatch.dylib | __dispatch_root_queue_drain + 656 |
8 libdispatch.dylib | __dispatch_worker_thread2 + 116 |
9 libsystem_pthread.dylib | _pthread_wqthread + 216 |
如题
You need to add LICENSE file to allow somebody use you code without in more clear way than now.
如果短时间多次调用方法 会不会导致内存暴增?
Hope to get the percentage of every color which has been extracted from the original case if possible. Otherwise an estimated scale would be OK as well if it's hard to be accurate.
The rates of all kinds of colors are great parameters for people to build a memory of a picture. Sometimes we use the Color-Card to match colors with wrong rates, and a less nice UI comes out than the original one. Human's visual system is so complicated that it's valuable to think much of the color's rate, I suppose.
Thank you for your awesome project.
是否能直接体现解析出来的每种色调的百分比?感谢。
如果不难处理的话,希望可以表明百分比;如果难以精确,给个估值范围也可以。
对于画面给人的总体印象,每种色调的占比是很重要的。比如我们看到色卡搭配很好看,但是用在自己的UI上可能就不那么靓丽,原因就是比例运用不当,体现不出原case的感觉。人的视觉系统蛮复杂的,比例应该是个重要的参数我想。
非常棒的 project,🙏&👍
有个需求:背景图片在接近黑色的时候文字显示白色,在接近白色的时候文字显示黑色,该如何写
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.