TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ITunes 11 and Colors

266 点作者 thisisblurry超过 12 年前

17 条评论

robflynn超过 12 年前
I do love that feature. I developed something like this a couple years ago for a back office part of a project:<p><a href="https://www.dropbox.com/sh/4p5m4719ehvpohc/GUEHcYecYv" rel="nofollow">https://www.dropbox.com/sh/4p5m4719ehvpohc/GUEHcYecYv</a><p>I don't have a good example of the project any longer, but I took a few snapshots during the development process. My test page allowed you to upload a logo and have the page dynamically change to match the new logo. The link above is a gallery of a few of my tests.<p>Sometimes it did a pretty good job. Other times the results were a little more 'meh.'<p>The original code was pretty hacked together in PHP and a little client side JS, though I've been considering resurrecting it as a ruby gem.<p>There was a bug in the code in one of these examples. The 5th image or so is of a tornado with a bright orange background. The code failed to select the orange as an interesting color to use. The result still looks fine but I would have liked for it to have sampled that bit as well. It's been long enough that I can't recall what the exact problem was.
评论 #4909984 未加载
joeguilmette超过 12 年前
Until just recently I was an iTunes power user. I have a 15 year old 80gb collection of pirated music - all full albums, all with pristine metadata and personalized genres. I do not have cover art tho, but I don't really care - until now.<p>iTunes 11 makes a big deal about cover art - their UI is nearly exclusively dependent on it. I don't like thumbnails.<p>When I look at my music, I want a big sortable list. I don't want a bunch of random (alphabetized) tiles that don't tell me much. Also - electronic music of today is largely post-album. It doesn't make sense to organize a bunch of remixes by different DJ by album cover.<p>The previous version of iTunes had a hybrid view that had a sorted list with a small thumbnail to the left. It was useful because the thumbnails would scroll nicely with the text.<p>But no longer as far as I can tell.<p>The whole idea of curating my own collection, through either piracy or purchasing, seems outmoded to me. It's expensive even when it's free. Pirating music, at least at scale, is time consuming. iTunes is ridiculously expensive. My music collection would cost me $20k if I bought it and it feels woefully inadequate when I try find something to listen to.<p>I just recently backed up my music collection and deleted it from my HD. I've signed up for Spotify Premium and am so far pleased.<p>$10 is very fair (a bit high, but fair). The quality is consistent, I can save songs and playlists to my devices (feels like buying) and create radio stations that are functionally superior to Pandora (skipping, etc) but algorithmically inferior (try getting it to play Louis Armstrong style music and see how long it takes to play modern music, for me it's two tracks regardless of downvotes).<p>Music discovery is just as important as curation, and Spotify scratches both itches. The iOS apps are buggy but so far it's working. I'm happy to leave iTunes behind. That said, I really loved SmartPlaylists. SmartPlaylists + Accurate Genres + Ratings = Powerful, Granular Track Syncing. It's just too time consuming, and now hard to manage with new emphasis on cover art.
评论 #4906986 未加载
评论 #4906773 未加载
评论 #4906721 未加载
评论 #4906878 未加载
评论 #4906958 未加载
评论 #4908444 未加载
评论 #4906988 未加载
评论 #4909758 未加载
评论 #4907251 未加载
评论 #4907597 未加载
aaronbrethorst超过 12 年前
I took the liberty of extracting the interesting bits of this into a reusable class, and tossed it up on GitHub:<p><a href="https://github.com/aaronbrethorst/ColorArt" rel="nofollow">https://github.com/aaronbrethorst/ColorArt</a><p>If I have the time this afternoon, I'll port it over to iOS, too. Or, if someone feels inclined to do so, I welcome pull requests :)<p>Edit: and I transferred the repo over to Panic. I'm maintaining a fork so the link above doesn't go dead.
jrajav超过 12 年前
Isn't something like this done for the Windows &#62;=7 taskbar icons too? Only for a single color, though.
评论 #4906818 未加载
cormullion超过 12 年前
See also:<p><a href="http://stackoverflow.com/questions/13637892/how-does-the-algorithm-to-color-the-song-list-in-itunes-11-work" rel="nofollow">http://stackoverflow.com/questions/13637892/how-does-the-alg...</a>
superted超过 12 年前
Good job "emulating" the iTunes algorithm. Request to op: It would have been good to have some sample code inline in the article that illustrated the algorithm. I know there's an Xcode project attached, but reading this on an iPad has its limitations.
评论 #4907411 未加载
评论 #4906543 未加载
untog超过 12 年前
Something similar to this was done at my old job, about four years ago. It took images that were not square and padding out the shorter dimension with an averaged colour from the edge. It looks like so:<p><a href="http://i.imgur.com/6WZCQ.png" rel="nofollow">http://i.imgur.com/6WZCQ.png</a><p>Sometimes it works well, other times it really doesn't. But it's an interesting idea- and certainly not a new one (though Apple has certainly done it better)
评论 #4906756 未加载
windsurfer超过 12 年前
As someone without iTunes, what does iTunes do now? There are no screenshots/videos in this article.
评论 #4906290 未加载
评论 #4906275 未加载
评论 #4906405 未加载
bpopov超过 12 年前
This reminds of the work @matasar and @attaboy did back in 2007 on Dabble DB: <a href="http://blog.dabbledb.com/2007/04/white--or-green.html" rel="nofollow">http://blog.dabbledb.com/2007/04/white--or-green.html</a>
gaidica超过 12 年前
We have been using this technique for a while to go from logo-to-brand, I have a demo and API for it: <a href="http://landr.co/brandr/" rel="nofollow">http://landr.co/brandr/</a>
评论 #4907427 未加载
评论 #4907088 未加载
beshrkayali超过 12 年前
It's a pretty cool new feature.<p>Something similar could be done in a browser with <a href="http://lokeshdhakar.com/projects/color-thief/" rel="nofollow">http://lokeshdhakar.com/projects/color-thief/</a>.
msutherl超过 12 年前
Stefan Sagmeister's logo/branding for Casa da Música takes this idea in reverse – the logo colors are determined by the surrounding imagery: <a href="http://www.sagmeister.com/work/featured#/node/192" rel="nofollow">http://www.sagmeister.com/work/featured#/node/192</a>
gruseom超过 12 年前
What's a good music player for OS X? I just want something simple that plays mp3s etc. and helps me manage my collection. Even before this redesign, iTunes was too bossy for me to like it. Is there something like Winamp when it was good?
评论 #4909101 未加载
评论 #4906990 未加载
mcgwiz超过 12 年前
As noted by jrajav, since Vista, the Windows taskbar features a single-color version of this, inferred from application icon.<p>Additionally, the New Tab page in Chrome has exhibited this (inferred from favicon) for as long as I can remember.
batiudrami超过 12 年前
Since Windows 7, hovering over an open application in the taskbar has done a similar thing. I sometimes wonder how it almost always manages to pick the dominant colour, even if it isn't necessarily the most common one.
tambourine_man超过 12 年前
Anyone noticed the lag between typing and results being displayed? It's infuriating, instant search results used to be the hallmark of iTunes.
adamzegelin超过 12 年前
I always enjoy reading Panic's blog. They always have something interesting to say.