{"id":473,"date":"2006-02-02T18:58:51","date_gmt":"2006-02-02T16:58:51","guid":{"rendered":"http:\/\/frenchfragfactory.net\/ozh\/archives\/2006\/02\/02\/having-fun-with-gd-gradient-fill\/"},"modified":"2006-02-02T18:58:51","modified_gmt":"2006-02-02T16:58:51","slug":"having-fun-with-gd-gradient-fill","status":"publish","type":"post","link":"https:\/\/planetozh.com\/blog\/2006\/02\/having-fun-with-gd-gradient-fill\/","title":{"rendered":"Having Fun with GD : Gradient Fill"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/blog\/images\/gd-gradient-fill-ellipse.png\" class=\"imgleft\" \/> I&#39;m currently discovering GD in PHP, having fun with it in a small project (and having some great ambitions in another future great project, but time will tell :)<br \/>\nHere is a small function I wrote, designed to create gradient fills of any kind (vertical, horizontal, elliptic, rectangular or even diamond-shaped). Be it useful to one person and I&#39;ll be happy for the rest of the, errr&#8230; week. <a href=\"http:\/\/planetozh.com\/blog\/my-projects\/images-php-gd-gradient-fill\/ \">GD Gradient Fill<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A PHP function that fills your images.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[2,146,22,10],"class_list":["post-473","post","type-post","status-publish","format-standard","hentry","tag-code","tag-gd","tag-images","tag-php"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=473"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/473\/revisions"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/categories?post=473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/tags?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}