{"id":20,"date":"2008-01-27T21:21:29","date_gmt":"2008-01-28T02:21:29","guid":{"rendered":"http:\/\/jaimerios.com\/?p=20"},"modified":"2008-01-27T21:21:29","modified_gmt":"2008-01-28T02:21:29","slug":"what-is-a-power-of-two-image","status":"publish","type":"post","link":"https:\/\/jaimerios.com\/?p=20","title":{"rendered":"What is a power of two image?"},"content":{"rendered":"<p>Ok, here was something that wasn&#8217;t immediately explained to me so Google saved the day and now I understand. A power of two image is an image where either side of the image is a whole number when you find the square root. So, 1, 2, 4, 16, etc. are ok because they can be square rooted. However, 5, 7, 511 are not good because they cannot be square rooted to a whole number.This website helped me understand:<\/p>\n<p><a href=\"http:\/\/panda3d.org\/wiki\/index.php\/Choosing_a_Texture_Size\" target=\"_blank\" title=\"http:\/\/panda3d.org\/wiki\/index.php\/Choosing_a_Texture_Size\" rel=\"noopener\">http:\/\/panda3d.org\/wiki\/index.php\/Choosing_a_Texture_Size<\/a>\u00a0\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, here was something that wasn&#8217;t immediately explained to me so Google saved the day and now I understand. A power of two image is an image where either side of the image is a whole number when you find the square root. So, 1, 2, 4, 16, etc. are ok because they can be &#8230; <a title=\"What is a power of two image?\" class=\"read-more\" href=\"https:\/\/jaimerios.com\/?p=20\" aria-label=\"Read more about What is a power of two image?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[289,337,490],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-coding","category-definition","tag-mac-os-x","tag-opengl","tag-what-is-a-power-of-two-image"],"_links":{"self":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":0,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}