Skip to content

sspencer/colorart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorArt

Go port of Panic's iTunes 11 album art color algorithm.

Looks like iTunes 12 uses a blurred version of the album cover now. Here's a quick repro:

gm mogrify -size 320x320 -format blur.jpg -blur 240x240 album.jpg

To view a demo:

$ go run main.go covers.html ~/album/*.jpg > index.html

To speed things up, this code makes use of GIFT to resize images. Also, the file "pixel.go" from that project was copied directly into the project to make getting pixels faster.

go get -u github.com/disintegration/gift

About

Go lang port of iTunes album color algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published