Interesting, it appears to simply scale the image down to a 3x3px image (or optionally 5x5, 7x7). Look at the duck or landscape 11 pictures. This probably isn't the best technique for creating a pallet. In essence, you could recreate the application with a bit of python code...
<br><br>>>> import Image<br>>>> im = Image.open("attackhamster.jpg")<br>>>> print im.size<br>(800, 600)<br>>>> size = 3,3<br>>>> im.thumbnail(size)<br>>>> for pixel in list(
im.getdata()):<br>... print "#%02x%02x%02x" % pixel<br>... <br>#030400<br>#030303<br>#060503<br>#030303<br>#070508<br>#fdc087<br>#0f1b4f<br>#895a3c<br>#936858<br>>>> colors = im.getcolors()<br>>>>
colors.sort(reverse=True)<br>>>> for count,color in colors:<br>... print "#%02x%02x%02x x%d" %(color[0],color[1],color[2],count)<br>... <br>#030303 x2<br>#fdc087 x1<br>#936858 x1<br>#895a3c x1<br>#0f1b4f x1
<br>#070508 x1<br>#060503 x1<br>#030400 x1<br><br>It would probably be better to use the 9x9 and then pick one or two colors and use them as a base to generate a pallet from one of the other tools.<br><br>hmm... that attackhamster.jpg
does produce a very nice color pallet<br><br><br><div class="gmail_quote">On Dec 20, 2007 11:53 AM, momo <<a href="mailto:momo@lumenstudio.net">momo@lumenstudio.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff"><div class="Ih2E3d">
<div><a href="http://www.wellstyled.com/tools/colorscheme2/index-en.html" target="_blank">http://www.wellstyled.com/tools/colorscheme2/index-en.html</a></div></div>
<div><font face="Arial" size="2">This one has a selector that shifts a color
scheme in the way some people with color perception problems will see it. Very
useful.</font></div><div class="Ih2E3d">
<div><font face="Arial" size="2"></font> </div>
<div><a href="http://jrm.cc/color-palette-generator/" target="_blank">http://jrm.cc/color-palette-generator/</a></div></div>
<div><font face="Arial" size="2">I think the most important use of this one is that
you can generate a palette from a wallpaper picture. That will ensure that the
wallpaper will fit well to the color scheme.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Molumen</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="Wj3C7c">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="newz@bearfruit.org" href="mailto:newz@bearfruit.org" target="_blank">Matthew Nuzum</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="ubuntu-art@lists.ubuntu.com" href="mailto:ubuntu-art@lists.ubuntu.com" target="_blank">
Discussion on Ubuntu artwork</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, December 20, 2007 5:46
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [ubuntu-art] Choosing color
palettes</div>
<div><br></div>On Dec 20, 2007 6:57 AM, Cory K. <<a href="mailto:coryisatm@nc.rr.com" target="_blank">coryisatm@nc.rr.com</a>> wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Andrew Laignel wrote:<br>> Adobe provide an amazing
resource for creating and picking colour<br>> palettes at <a href="http://kuler.adobe.com/" target="_blank">http://kuler.adobe.com/</a>
Just typing 'brown' into the search <br>> box gets some quite nice
pre-made selections for colourschemes. It's<br>> Flash 9 only
though :(<br></div></blockquote>
<div><br>Very nice.<br> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Troy
showed me this one:<br><a href="http://www.wellstyled.com/tools/colorscheme2/index-en.html" target="_blank">http://www.wellstyled.com/tools/colorscheme2/index-en.html</a><br></blockquote></div><br>This
one isn't as nice but it does have the "contrast" option for a color theme.
<br><br>I was researching this subject last week and came across this:<br><a href="http://jrm.cc/color-palette-generator/" target="_blank">http://jrm.cc/color-palette-generator/</a><br><br>You
upload an image and it generates a color palette based on the colors of the
image. Seems very useful. <br><br>Googling for "color theory" should return
some informative results on how this is done. Still, I've seen artists do this
by eye and come up with spectacular results that make any auto-generated theme
look calculated and mathematical. <br clear="all"><br>-- <br>Matthew
Nuzum<br>newz2000 on freenode
</div></div><p>
</p><hr>
<p></p>-- <br>ubuntu-art mailing
list<br><a href="mailto:ubuntu-art@lists.ubuntu.com" target="_blank">ubuntu-art@lists.ubuntu.com</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-art" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-art
</a><br></blockquote></div>
<br>--<br>ubuntu-art mailing list<br><a href="mailto:ubuntu-art@lists.ubuntu.com">ubuntu-art@lists.ubuntu.com</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-art" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-art
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Matthew Nuzum<br>newz2000 on freenode