{"id":443,"date":"2016-02-21T01:34:53","date_gmt":"2016-02-21T01:34:53","guid":{"rendered":"http:\/\/fractorium.com\/?page_id=443"},"modified":"2019-04-15T04:04:47","modified_gmt":"2019-04-15T04:04:47","slug":"palettes","status":"publish","type":"page","link":"http:\/\/fractorium.com\/?page_id=443","title":{"rendered":"Palettes"},"content":{"rendered":"<p>Palettes can be specified in one of two ways: A block of data directly stored\u00a0in the flame\u00a0Xml or as an index into a palette file.<\/p>\n<h3>Directly stored<\/h3>\n<p style=\"padding-left: 30px;\">The first is the most commonly used and is preferred.\u00a0The palette is embedded directly in the Xml as either individual tags for each color entry, or as a hexadecimal representation of the binary data. The latter is preferred because it keeps the Xml files smaller.<\/p>\n<h3>Index<\/h3>\n<p style=\"padding-left: 30px;\">A less commonly used method from older flames is to specify the palette as an index into a palette file. The file is the standard flam3-palettes.xml which contains 700 palettes and is shipped with all fractal flame editors. The flame\u00a0has an Xml field named palette whose value is an integer index into the file. A value of -1 means to select a random palette from the file. The palettes in the file are stored as RGB values in the range of 0-255.<\/p>\n<p>Regardless of the format\u00a0the palette was stored in, the color values are internally stored in a normalized range of 0-1 when read from disk.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Palettes can be specified in one of two ways: A block of data directly stored\u00a0in the flame\u00a0Xml or as an index into a palette file. Directly stored The first is the most commonly used and is preferred.\u00a0The palette is embedded directly in the Xml as either individual tags for each color entry, or as a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":438,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-443","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/fractorium.com\/index.php?rest_route=\/wp\/v2\/pages\/443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/fractorium.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/fractorium.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/fractorium.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/fractorium.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=443"}],"version-history":[{"count":10,"href":"http:\/\/fractorium.com\/index.php?rest_route=\/wp\/v2\/pages\/443\/revisions"}],"predecessor-version":[{"id":2050,"href":"http:\/\/fractorium.com\/index.php?rest_route=\/wp\/v2\/pages\/443\/revisions\/2050"}],"up":[{"embeddable":true,"href":"http:\/\/fractorium.com\/index.php?rest_route=\/wp\/v2\/pages\/438"}],"wp:attachment":[{"href":"http:\/\/fractorium.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}