Re: color palette
John Culleton <[email protected]> Wed, 8 Jun 2011 09:29:26 -0400
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Organization | Wexford Press |
| Message-ID | <[email protected]> |
On Wednesday, June 08, 2011 04:14:41 am Aidan Feldman wrote: > Hi all- > I am looking to generate a color palette (of a handful of colors) based on > a photo, similar to what kuler > <http://kuler.adobe.com/#create/fromanimage> or some > <http://www.degraeve.com/color-palette> other<http://www.colorhunter.com/> > services <http://www.pictaculous.com/> do. I imagine it is fairly > subjective about how to determine the preferred colors, but any ideas? I > need a solution that would work and be reasonably fast for large photos > with lots of colors. I've been reading the quantize > documentation<http://www.imagemagick.org/Usage/quantize/#handling>, > and have been experimenting with the '-posterize' and '-colors' flags - > still haven't nailed it, though. > > Thanks! > -Aidan > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users Is your target the web or print? Scribus has decent examples of RGB (web) and CMYK (print) palettes and a Scribus sla file embeds the colors of the palette in use in the text in forms like: <COLOR NAME="Black" CMYK="#000000ff" Spot="0" Register="0"/> <COLOR NAME="Blue" RGB="#0000ff" Spot="0" Register="0"/> <COLOR NAME="Cool Black" CMYK="#990000ff" Spot="0" Register="0"/> <COLOR NAME="Cyan" CMYK="#ff000000" Spot="0" Register="0"/> <COLOR NAME="Green" RGB="#00ff00" Spot="0" Register="0"/> <COLOR NAME="Magenta" CMYK="#00ff0000" Spot="0" Register="0"/> <COLOR NAME="Red" RGB="#ff0000" Spot="0" Register="0"/> <COLOR NAME="Registration" CMYK="#ffffffff" Spot="0" Register="1"/> <COLOR NAME="Rich Black" CMYK="#996666ff" Spot="0" Register="0"/> <COLOR NAME="Warm Black" CMYK="#00994cff" Spot="0" Register="0"/> <COLOR NAME="White" CMYK="#00000000" Spot="0" Register="0"/> <COLOR NAME="Yellow" CMYK="#0000ff00" Spot="0" Register="0"/> An RGB palette will be recorded in similar fashon. -- John Culleton "Death Wore Black" Police procedural: http://www.deathworeblack.com/ "Create Book Covers with Scribus" www.lybrary.com/create-book-covers-with-scribus-p-74177.html