{"id":4769,"date":"2013-10-15T05:10:56","date_gmt":"2013-10-14T18:10:56","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4769"},"modified":"2013-10-15T05:10:56","modified_gmt":"2013-10-14T18:10:56","slug":"phphtml-image-manipulation-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/phphtml-image-manipulation-primer-tutorial\/","title":{"rendered":"PHP\/HTML Image Manipulation Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PHP_image_Primer.jpg\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"PHP\/HTML Image Manipulation Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PHP_image_Primer.jpg\" title=\"PHP\/HTML Image Manipulation Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">PHP\/HTML Image Manipulation Primer Tutorial<\/p><\/div>\n<p>Here is a tutorial that shows some very <a target=_blank title=\"Is Rudi meant to be 'arry?\" href='http:\/\/www.youtube.com\/watch?v=1gJ_ppgGJIM'> rudimentary<\/a> PHP <a target=_blank title='hit explained by Wikipedia' href='http:\/\/www.php.net\/manual\/en\/ref.image.php'>GD and Image Functions<\/a> (manipulation) functionality.<\/p>\n<p>Link to some downloadable PHP programming code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/myrudimentarydrawing.php_GETME' title='Download me'>myrudimentarydrawing.php<\/a>.<\/p>\n<p>For this <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PHP_image_Primer.jpg\">tutorial<\/a> we show the drawing of an ellipse or a rectangle into a web image either shown at the browser, or saved to a file and then displayed at the browser, and where get parameters are used to tailor your rectangle or ellipse as to whether it has a fill colour and where it is positioned and what width and height it has, and whether the image is saved to an actual file on the server (effectively <a target=_blank title='PHP Upload Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3937'>uploading<\/a>).<\/p>\n<p>Some good background reading for this tutorial would be:<\/p>\n<ul>\n<li><a target=_blank title='GD and Image Functions' href='http:\/\/www.php.net\/manual\/en\/ref.image.php'>GD and Image Functions<\/a><\/li>\n<li><a target=_blank title='imagecreatetruecolor' href='http:\/\/www.php.net\/manual\/en\/function.imagecreatetruecolor.php'>imagecreatetruecolor<\/a><\/li>\n<li><a target=_blank title='imagerectangle' href='http:\/\/www.php.net\/manual\/en\/function.imagerectangle.php'>imagerectangle<\/a>, <a target=_blank title='imagefilledrectangle' href='http:\/\/www.php.net\/manual\/en\/function.imagefilledrectangle.php'>imagefilledrectangle<\/a>, <a target=_blank title='imageellipse' href='http:\/\/www.php.net\/manual\/en\/function.imageellipse.php'>imageellipse<\/a>, <a target=_blank title='imagefilledellipse' href='http:\/\/www.php.net\/manual\/en\/function.imagefilledellipse.php'>imagefilledellipse<\/a><\/li>\n<li><a target=_blank title='imagepng' href='http:\/\/www.php.net\/manual\/en\/function.imagepng.php'>imagepng<\/a>, <a target=_blank title='imagegif' href='http:\/\/www.php.net\/manual\/en\/function.imagegif.php'>imagegif<\/a>, <a target=_blank title='imagejpeg' href='http:\/\/www.php.net\/manual\/en\/function.imagejpeg.php'>imagejpeg<\/a><\/li>\n<\/ul>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d4769' onclick='var dv=document.getElementById(\"d4769\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Google+Chart#content\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d4769' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here is a tutorial that shows some very rudimentary PHP GD and Image Functions (manipulation) functionality. Link to some downloadable PHP programming code &#8230; rename to myrudimentarydrawing.php. For this tutorial we show the drawing of an ellipse or a rectangle &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/phphtml-image-manipulation-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[576,590,932,997,1131,1319,1344],"class_list":["post-4769","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-html","tag-image","tag-php","tag-programming","tag-shapes","tag-tutorial","tag-uploading"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/4769"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=4769"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/4769\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=4769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=4769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=4769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}