Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Correct README regarding createPalette return value format #3

Closed
jfsiii opened this Issue · 1 comment

2 participants

@jfsiii

The README says:

createPalette(sourceImage, colorCount)

returns array[ {r: num, g: num, b: num}, {r: num, g: num, b: num}, ...]

but it actually returns [ [num, num, num], [num, num, num], ...]

@lokesh lokesh was assigned
@lokesh lokesh referenced this issue from a commit
@lokesh FIX: issue #9 - applying css attribs over img ruins the palette funct…
…ion. FIX: issue #3- update README regarding createPalette return val
79d4c70
@lokesh
Owner

Done.

@lokesh lokesh closed this
@jfsiii jfsiii referenced this issue from a commit in jfsiii/color-thief
@jfsiii jfsiii Merge branch 'master' of https://github.com/lokesh/color-thief
* 'master' of https://github.com/lokesh/color-thief:
  .
  js file had incorrect script name at top
  FIX: issue #9 - applying css attribs over img ruins the palette function. FIX: issue #3- update README regarding createPalette return val
  github pull requests all added manually
  All of jfsiii awesome edits are now in place.
  test
  Fix for lack of quantize response
  text updates to the demo page, minor

Conflicts:
	index.js
	js/color-thief.js
ae1eec5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.