{"id":832,"date":"2021-11-20T16:40:02","date_gmt":"2021-11-20T15:40:02","guid":{"rendered":"https:\/\/www.raktres.net\/blog\/?p=832"},"modified":"2021-11-22T19:36:18","modified_gmt":"2021-11-22T18:36:18","slug":"extract-colors-from-a-picture","status":"publish","type":"post","link":"https:\/\/www.raktres.net\/blog\/2021\/11\/20\/extract-colors-from-a-picture\/","title":{"rendered":"Extract colors from a picture"},"content":{"rendered":"<p>Hi<\/p>\n<p>In <a href=\"https:\/\/www.etsy.com\/fr\/listing\/658320160\/inkle-weaving-design-book-par-annie\">Celebration of plain weave<\/a> (page 27) Annie MacHale explains how to extract colors from a picture to create a color palette.<\/p>\n<p>I tried to add a basic function like this in Seizenn. <a href=\"https:\/\/www.raktres.net\/seizenn\/\">(<\/a><a href=\"https:\/\/www.raktres.net\/seizenn\/\">https:\/\/www.raktres.net\/seizenn\/)<\/a>.<\/p>\n<p>Open the Palette tool <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-833 size-medium\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-10-24-300x49.png\" alt=\"\" width=\"300\" height=\"49\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-10-24-300x49.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-10-24.png 518w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/> and go down the page to <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-834\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-13-27-300x31.png\" alt=\"\" width=\"300\" height=\"31\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-13-27-300x31.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-13-27.png 468w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>You first need to load a picture. You can get a random picture from unsplash.com with\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-841\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-40-00.png\" alt=\"\" width=\"175\" height=\"39\" \/> or load your own picture with <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-840\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-40-11.png\" alt=\"\" width=\"158\" height=\"35\" \/>. If you use Seizenn on a smartphone, you can get access to your camera !<\/p>\n<p>For example, with a random picture, you can get :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-837 aligncenter\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-34-56-300x229.png\" alt=\"\" width=\"300\" height=\"229\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-34-56-300x229.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-34-56.png 673w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>Then Seizen use two different algorithms to extract colors from this picture :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-838 size-medium aligncenter\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-36-45-300x174.png\" alt=\"\" width=\"300\" height=\"174\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-36-45-300x174.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-36-45.png 760w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>With the first button, you take all those colors to create a new main palette<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-843\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-46-55-300x73.png\" alt=\"\" width=\"300\" height=\"73\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-46-55-300x73.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-46-55-768x188.png 768w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-46-55-1024x250.png 1024w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-46-55.png 1032w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>But it could be tricky to find yarns with the wanted colors. So instead of getting all the colors in a new color palette, use the second button.<\/p>\n<p>Imagine that you use this main palette (the default one) and that you have all those colors at home<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-844\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-50-57-300x32.png\" alt=\"\" width=\"300\" height=\"32\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-50-57-300x32.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-50-57-768x82.png 768w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-50-57.png 922w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>When you click on the &#8220;filter&#8221; button, Seizenn will try to find de nearest colors in your main palette that will fit the colors from the picture. You then get<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-845\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-49-34-300x186.png\" alt=\"\" width=\"300\" height=\"186\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-49-34-300x186.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-49-34.png 557w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>(Sometimes, if main palette quite poor, it chooses colors that doesn&#8217;t seem to be very relevant)<\/p>\n<p>Clic on &#8220;Add colors&#8230;&#8221; to get those colors in your loom palette and remove colors you don&#8217;t want to use.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-846\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-54-13-300x64.png\" alt=\"\" width=\"300\" height=\"64\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-54-13-300x64.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-54-13-768x163.png 768w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-54-13.png 889w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>You are now ready to design a pattern inspired by your picture<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-848 alignleft\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-58-20-300x248.png\" alt=\"\" width=\"386\" height=\"319\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-58-20-300x248.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-58-20.png 663w\" sizes=\"(max-width: 386px) 85vw, 386px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-837 alignnone\" src=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-34-56-300x229.png\" alt=\"\" width=\"300\" height=\"229\" srcset=\"https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-34-56-300x229.png 300w, https:\/\/www.raktres.net\/blog\/wp-content\/uploads\/2021\/11\/Capture-d\u2019\u00e9cran_2021-11-20_15-34-56.png 673w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>Link to the pattern : <a href=\"https:\/\/www.raktres.net\/seizenn\/?sc=Fa8\">https:\/\/www.raktres.net\/seizenn\/?sc=Fa8<\/a><\/p>\n<p>Maybe not the perfect tool, but a first try to see if it would be useful for someone.<\/p>\n<p>Jeff<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi In Celebration of plain weave (page 27) Annie MacHale explains how to extract colors from a picture to create a color palette. I tried to add a basic function like this in Seizenn. (https:\/\/www.raktres.net\/seizenn\/). Open the Palette tool and go down the page to You first need to load a picture. You can get &hellip; <a href=\"https:\/\/www.raktres.net\/blog\/2021\/11\/20\/extract-colors-from-a-picture\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Extract colors from a picture&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,1,15,9],"tags":[2,6,18,5],"class_list":["post-832","post","type-post","status-publish","format-standard","hentry","category-news","category-non-classe","category-update","category-weaving","tag-inkle-loom","tag-pattern-editor","tag-seizenn-instructions","tag-weaving"],"_links":{"self":[{"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/posts\/832"}],"collection":[{"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/comments?post=832"}],"version-history":[{"count":14,"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/posts\/832\/revisions"}],"predecessor-version":[{"id":859,"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/posts\/832\/revisions\/859"}],"wp:attachment":[{"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/media?parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/categories?post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.raktres.net\/blog\/wp-json\/wp\/v2\/tags?post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}