{"id":53794,"date":"2021-11-03T03:01:39","date_gmt":"2021-11-02T17:01:39","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=53794"},"modified":"2021-11-03T06:02:55","modified_gmt":"2021-11-02T20:02:55","slug":"animated-gif-creator-pdf-share-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-pdf-share-tutorial\/","title":{"rendered":"Animated GIF Creator PDF Share Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Animated GIF Creator PDF Share Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/ttag_pdf_email.jpg\" title=\"Animated GIF Creator PDF Share Tutorial\" \/><\/a><p class=\"wp-caption-text\">Animated GIF Creator PDF Share Tutorial<\/p><\/div>\n<p>To share yesterday&#8217;s <a title='Animated GIF Creator PDF Conversion Tutorial' href='#agifcpdfct'>Animated GIF Creator PDF Conversion Tutorial<\/a> PDF data formatted image slides (and then onto an animated GIF) would be a step forward, wouldn&#8217;t you say?<\/p>\n<p>What sharing conduits do we code for?  We always intended &#8230;<\/p>\n<ul>\n<li>email &#8230; but as the day wore on trying to get the usage to work on mobile and non-mobile we decided to relinquish our wish to not have to create a user specific enduring (until that same browser type and user combination share) PDF document for the user request &#8230; mainly to get mobile email downloads to be friendly &#8230; and so this opened the door for &#8230;<\/li>\n<li>SMS &#8230; to access that enduring PDF as a URL in the SMS message (that becomes a link for the recipient)<\/li>\n<\/ul>\n<p> &#8230; the email methodology used being that &#8220;midair feeling&#8221; <a target=_blank title='Ajax information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Ajax_%28programming%29'>Ajax<\/a>\/<a target=_blank title='FormData object information' href='https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/FormData'>FormData<\/a> approach in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php---------------------------------------GETME\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php---------------------------------------GETME\">tutorial_to_animated_gif.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php' title='Animated GIF Creator'>Animated GIF Creator<\/a> serverside PHP web application &#8230;<\/p>\n<p>&lt;?php echo &#8221;<br \/>\n<code><br \/>\nfunction emailhtmlit() {<br \/>\n var induri=ginduri;<br \/>\n var pemail='\" . urldecode($_GET['outpdf']) . urldecode($_POST['outpdf']) . \"';<br \/>\n if (pemail != null) {<br \/>\n   if (pemail.indexOf('@') != -1 || (pemail.trim() != '' && pemail.trim().replace(\/0\/g,'').replace(\/1\/g,'').replace(\/2\/g,'').replace(\/3\/g,'').replace(\/4\/g,'').replace(\/5\/g,'').replace(\/6\/g,'').replace(\/7\/g,'').replace(\/8\/g,'').replace(\/9\/g,'') == '')) {<br \/>\n   if (induri.trim() == '') {<br \/>\n   if (induri == '') {<br \/>\n   document.getElementById('pdfproposed').src='.\/animegif.pdf?rand=' + Math.floor(Math.random() * 19854654);<br \/>\n   } else {<br \/>\n   ginduri='found';<br \/>\n   }<br \/>\n   setTimeout(emailhtmlit, 15000);<br \/>\n   } else {<br \/>\n   ginduri='';<br \/>\n  var zhr = new XMLHttpRequest();<br \/>\n  var zform=new FormData();<br \/>\n  if (pemail.indexOf('@') != -1) { zform.append('to', pemail); }<br \/>\n  zform.append('inline', '\" . dirname(__FILE__) . DIRECTORY_SEPARATOR . \"animegif.pdf\" . \"');<br \/>\n  zform.append('subj', 'My PDF version of Animated GIF via RJM Programming ... ');<br \/>\n  zform.append('tdhuhta', ('&lt;body&gt;&lt;div title=\\\"\" . explode('\/animegif',$durlis)[0] . '\/animegif\/' . server_remote_addr() . \"_\\\" style=\\\"overflow:auto;-webkit-overflow-scrolling:touch;height:100%;\\\"&gt;&lt;object style=\\\"width:100%;height:900px;\\\" type=\\\"application\/pdf\\\" data=\\\"\" . dirname(__FILE__) . DIRECTORY_SEPARATOR . 'animegif.pdf' . \"\\\"&gt;&lt;embed style=\\\"width:100%;height:900px;\\\" type=\\\"application\/pdf\\\" src=\\\"\" . dirname(__FILE__) . DIRECTORY_SEPARATOR . 'animegif.pdf' . \"\\\"&gt;&lt;\/embed&gt;&lt;\/object&gt;&lt;\/div&gt;&lt;\/body&gt;'));<br \/>\n  \/\/zform.append('tdhuhta', ('&lt;body&gt;&lt;iframe srcdoc=\\\"\" . dirname(__FILE__) . DIRECTORY_SEPARATOR . 'animegif.pdf' . \"\\\"&gt;&lt;\/iframe&gt;&lt;\/body&gt;'));<br \/>\n  zhr.open('post', '\/\/www.rjmprogramming.com.au\/HTMLCSS\/emailhtml.php', true);<br \/>\n  zhr.send(zform);<br \/>\n  if (pemail.indexOf('@') == -1) {<br \/>\n    var hrefp=document.getElementById('pdfsms').href.split('&body=')[0];<br \/>\n    hrefp+=pemail.trim() + '&body=' + document.getElementById('pdfsms').href.split('&body=')[1];<br \/>\n    document.getElementById('pdfsms').href=hrefp;<br \/>\n    document.getElementById('pdfsms').click();<br \/>\n  }<br \/>\n  }<br \/>\n   }<br \/>\n }<br \/>\n}<br \/>\n<\/code><br \/>\n&#8220;;   ?&gt;<\/p>\n<p> &#8230; and this called on our PHP email creator helper to better interface in its $_POST arguments reading section in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emailhtml.php---------------------GETME\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emailhtml.php---------------------GETME\">emailhtml.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emailhtml.php' title='Email Creator Helper'>email creator helper<\/a> serverside PHP web application &#8230;<\/p>\n<p>&lt;?php<br \/>\n<code><br \/>\n$psacv=\"\";<br \/>\n$okayin=true;<br \/>\n$subd=\"\";<br \/>\n$subptitle='';<br \/>\n$subdata=\"\";<br \/>\n$subfile=\"\";<br \/>\n$getpostfound=false;<br \/>\n&lt;br&gt;<br \/>\nforeach( $_POST as  $name=&gt;$val ) {<br \/>\n  if ($val != \"\") {<br \/>\n\/\/ blah blah blah    \/\/file_put_contents(\"jnv.\" . $name, \"jnv.inv00 \" . strlen($phpcont));<br \/>\n  if ($name == \"tdhuhta\" && $subfile != \"\" && $subdata != \"\" && strpos(str_replace(\"+\",\" \",urldecode($val)), $subfile) !== false) {<br \/>\n   if (strpos(str_replace(\"+\",\" \",urldecode($val)), ' srcdoc=\"') !== false || strpos(str_replace(\"+\",\" \",urldecode($val)), ' data=\"') !== false) {<br \/>\n      if (strpos(str_replace(\"+\",\" \",urldecode($val)), ' title=\"') !== false) {      \/\/file_put_contents('haaa.aaa',explode('\/animegif\/', explode('\"', explode(' title=\"', str_replace(\"+\",\" \",urldecode($val)))[1])[0])[1]);<br \/>\n        if (!file_exists('..\/PHP\/animegif\/' . explode('\/animegif\/', explode('\"', explode(' title=\"', str_replace(\"+\",\" \",urldecode($val)))[1])[0])[1] . 'animegif.pdf')) {<br \/>\n        if (file_exists('..\/PHP\/animegif\/animegif.pdf')) {<br \/>\n          copy('..\/PHP\/animegif\/animegif.pdf', '..\/PHP\/animegif\/' . explode('\/animegif\/', explode('\"', explode(' title=\"', str_replace(\"+\",\" \",urldecode($val)))[1])[0])[1] . 'animegif.pdf');<br \/>\n        }<br \/>\n        }<br \/>\n        $psacv=explode('\"', explode(' title=\"', str_replace(\"+\",\" \",urldecode($val)))[1])[0] . 'animegif.pdf';<br \/>\n        $subptitle='&lt;a target=_blank href=\"' . explode('\"', explode(' title=\"', str_replace(\"+\",\" \",urldecode($val)))[1])[0] . 'animegif.pdf\"&gt;Mobile whole PDF&lt;\/a&gt;&lt;br&gt;';<br \/>\n      }<br \/>\n     $vrest=explode('\"', explode(' srcdoc=\"',str_replace(\"+\",\" \",urldecode($val)))[1])[0];<br \/>\n     $val=urlencode(\"&lt;body&gt;\" . $subptitle . \"&lt;iframe style='width:100%;height:95vh;overflow:auto;-webkit-overflow-scrolling:touch;' srcdoc='&lt;div style=width:92%;height:95vh;overflow:auto;-webkit-overflow-scrolling:touch;&gt;&lt;object id=myobj style=width:95%;height:95vh; type=application\/pdf data=\\\"\" . $subdata . \"\\\"&gt;&lt;\/object&gt;&lt;\/div&gt;'&gt;&lt;\/iframe&gt;&lt;\/body&gt;\");<br \/>\n   }<br \/>\n\/\/ blah blah blah<br \/>\n   if ($name == \"inline\") {<br \/>\n    if (strpos(str_replace(\"+\",\" \",urldecode($val)), 'animegif.pdf') !== false && isset($_POST['tdhuhta'])) {<br \/>\n     if (file_exists(str_replace(\"+\",\" \",urldecode($val)))) {<br \/>\n      $subfile=str_replace(\"+\",\" \",urldecode($val));<br \/>\n      $subdata='data:application\/pdf;base64,' . base64_encode(file_get_contents(str_replace(\"+\",\" \",urldecode($val))));<br \/>\n      $val=\"\";<br \/>\n      $name=\"x\";<br \/>\n      $okayin=false;<br \/>\n     }<br \/>\n    }<br \/>\n\/\/ blah blah blah<br \/>\n  }<br \/>\n}<br \/>\n<\/code><br \/>\n?&gt;<\/p>\n<p>Creating the PDFs got helped out in &#8220;reliability terms&#8221; via the introduced <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/animegif.php_GETME\">animegif.php<\/a> inhouse <!--a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/animegif.php' title='Wait Around Longer'-->Wait Around Longer<!--\/a--> serverside PHP web application.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-pdf-share-tutorial\/'>Animated GIF Creator PDF Share Tutorial<\/a>.<\/p-->\n<hr>\n<p id='agifcpdfct'>Previous relevant <a target=_blank title='Animated GIF Creator PDF Conversion Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-pdf-conversion-tutorial\/'>Animated GIF Creator PDF Conversion Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Animated GIF Creator PDF Conversion Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/ttag_pdf.jpg\" title=\"Animated GIF Creator PDF Conversion Tutorial\" \/><\/a><p class=\"wp-caption-text\">Animated GIF Creator PDF Conversion Tutorial<\/p><\/div>\n<p>Up to yesterday&#8217;s <a title='Animated GIF Creator Slide Specific Application Tutorial' href='#agifcssat'>Animated GIF Creator Slide Specific Application Tutorial<\/a> the recent progress had us &#8230;<\/p>\n<ul>\n<li>knowing the good places to intervene between the original slide image data being read in and the animated GIF slide output &#8230; and &#8230;<\/li>\n<li>involvement of <a target=_blank href='http:\/\/imagemagick.org\/index.php'>ImageMagick<\/a> &#8230; so, today, these two help us down the path to &#8230;<\/li>\n<li>adding PDF as an output format possibility, in addition to the animated GIF and other ideas floated as output formats<\/li>\n<\/ul>\n<p> &#8230; with <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php--------------------------------------GETME\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php--------------------------------------GETME\">tutorial_to_animated_gif.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php' title='Animated GIF Creator'>Animated GIF Creator<\/a> serverside PHP web application.<\/p>\n<p>We have more &#8220;reliability work&#8221; and &#8220;email sharing work&#8221; to go after today&#8217;s start, but it primarily called on <a target=_blank href='http:\/\/imagemagick.org\/index.php'>ImageMagick<\/a> command line&#8217;s talent for a command like &#8230;<\/p>\n<p><code><br \/>\nconvert \/tmp\/imtmp0*.*[gGmMiI]* \/tmp\/imtmp000.pdf<br \/>\n<\/code><\/p>\n<p> &#8230; to &#8220;concatenate&#8221; into the one output PDF file (called &#8220;\/tmp\/imtmp000.pdf&#8221;) the slides, arranged by our code into that &#8220;\/tmp\/imtmp0*.*[gGmMiI]*&#8221; (file specification) arrangement above.  Yes, we meant &#8220;convert&#8221; above, as &#8220;mogrify&#8221; (batch work) appears not to be able to perform this task.<\/p>\n<p>We hope you stay the course!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-pdf-conversion-tutorial\/'>Animated GIF Creator PDF Conversion Tutorial<\/a>.<\/p-->\n<hr>\n<p id='agifcssat'>Previous relevant <a target=_blank title='Animated GIF Creator Slide Specific Application Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-slide-specific-application-tutorial\/'>Animated GIF Creator Slide Specific Application Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Animated GIF Creator Slide Specific Application Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/making_of_slide_number_nuance.gif\" title=\"Animated GIF Creator Slide Specific Application Tutorial\" \/><\/a><p class=\"wp-caption-text\">Animated GIF Creator Slide Specific Application Tutorial<\/p><\/div>\n<p>It&#8217;s all fine and good improving on the <a target=_blank href='http:\/\/imagemagick.org\/index.php'>ImageMagick<\/a> and <a target=_blank title='PHP GD' href='https:\/\/www.php.net\/manual\/en\/function.gd-info.php'>GD<\/a> and <a target=_blank title='Exif information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Exif'>Exif<\/a> functionality modifications like with yesterday&#8217;s <a title='Animated GIF Creator Exif Rotation Compensation Tutorial' href='#agifcerct'>Animated GIF Creator Exif Rotation Compensation Tutorial<\/a>, but in reality, if you are going to start creating animated GIFs to explain a process, you are going to want to apply these &#8220;slide modifiers&#8221; on a slide by slide basis, rather than enforcing a &#8220;whole of animated GIF slide set&#8221; paradigm, as for the last few days worth of work.<\/p>\n<p>And so, we decided to do what we often do, &#8220;sliding in&#8221; more functionality <font size=1>(chortle, chortle)<\/font>.  We tend to want to &#8230;<\/p>\n<ul>\n<li>start with hardcoded text (or element) &#8230; somewhere &#8230; today it happens to be in an HTML span element that once involved just &#8230;<br \/>\n<code><br \/>\n&lt;span id=\"smyim\"&gt;&lt;\/span&gt;<br \/>\n<\/code><br \/>\n &#8230; and used to get filled, Javascript DOM wise, when needed via &#8230;<br \/>\n<code><br \/>\ndocument.getElementById('smyim').innerHTML='ImageMagick switches: ';   \/\/ and yes, it remains that way even now, but read on ...<br \/>\n<\/code>\n<\/li>\n<li>add <font color=blue>intelligence<\/font> (quite often that being <i>onclick<\/i> logic(s)) to that hardcoded element via &#8230;<br \/>\n<code><br \/>\n&lt;span id=smyim<font color=blue> title=Application onclick=applyto(); style=cursor:pointer;text-decoration:underline;<\/font>&gt;&lt;\/span&gt;<br \/>\n<\/code>\n<\/li>\n<li>that serves the purpose, as the user clicks\/taps it (alerted to that fact, perhaps, because we underline the element and add an appropriate cursor when hovering over it (plus a title)), of calling Javascript &#8230;<br \/>\n<code><br \/>\nfunction applyto() {<br \/>\n  var huhto=prompt('Apply ImageMagick and\/or GD to which slides, in comma separated list, counting starting with 1?  Defaults to applying to all slides.  Comma delimit.  Negatives mean all but.  Ranges can be specified.  For example ... 2,4-7,9', document.getElementById('appliedto').value);<br \/>\n  if (huhto == null) { huhto=''; }<br \/>\n  if (huhto.trim() == '') {<br \/>\n    document.getElementById('appliedto').value='';<br \/>\n    document.getElementById('smyim').title='Application';<br \/>\n  } else {<br \/>\n    document.getElementById('appliedto').value=huhto.trim();<br \/>\n    document.getElementById('smyim').title=huhto.trim();<br \/>\n  }<br \/>\n}<br \/>\n<\/code>\n<\/li>\n<li>to glean an (often times out of the normal workflow of the web application) informational piece of data, interactively, from the user, via a Javascript prompt popup<\/li>\n<\/ul>\n<p>So that&#8217;s the clientside of this work &#8230; &#8220;alerting the user to the existance of the functionality&#8221; you might say.<\/p>\n<p>And then there&#8217;s &#8220;the application&#8221; of that nuanced user requirement.  And that&#8217;s where the &#8220;inhouse &#8216;our&#8217; prefix to <i>wrapper<\/i> function name paradigms&#8221; come in handy.  We introduced &#8220;blanket&#8221; functionality thoughts via this approach, and so to &#8220;partially undo&#8221; that thinking, we make the &#8220;our&#8221; prefix conditional, as is available to us with <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php-------------------------------------GETME\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php-------------------------------------GETME\">tutorial_to_animated_gif.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php' title='Animated GIF Creator'>Animated GIF Creator<\/a> serverside PHP web application (helped out by <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/exif_rotation_check.php-GETME\">a changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/exif_rotation_check.php-GETME\">exif_rotation_check.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/exif_rotation_check.php' title='Animated GIF Creator helper'>Exif detector<\/a> PHP helper), <font color=blue>as per<\/font> &#8230;<\/p>\n<p>&lt;?php<br \/>\n<code><br \/>\n<font color=blue>function ourcomplicated($inio, $iappl) {<br \/>\n  $ideasl=explode(\",\", str_replace(' ','',$iappl));<br \/>\n  $xour=\"our\";<br \/>\n  for ($iqa=0; $iqa&lt;sizeof($ideasl); $iqa++) {<br \/>\n    if (trim($ideasl[$iqa]) != '') {<br \/>\n      $xour=\"\";<br \/>\n      if (('-' . $inio) == trim($ideasl[$iqa])) { return \"\";  }<br \/>\n      $ideasr=explode(\"-\", str_replace(' ','',trim($ideasl[$iqa])));<br \/>\n      for ($iqb=0; $iqb&lt;sizeof($ideasr); $iqb++) {<br \/>\n        if (('' . $inio) == trim($ideasr[$iqb])) {<br \/>\n          return \"our\";<br \/>\n        }<br \/>\n        if ($iqb == 1) {<br \/>\n          if (trim($ideasr[1]) == \"\") { $ideasr[1]=\"99999999\"; }<br \/>\n          if ($inio &gt;= $ideasr[0] && $inio &lt;= $ideasr[1]) { return \"our\";  }<br \/>\n        }<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n  return $xour;<br \/>\n}<\/font><br \/>\n<\/code><br \/>\n?&gt;<\/p>\n<p> &#8230; <font color=blue>teamed with<\/font> &#8230;<\/p>\n<p>&lt;?php<br \/>\n<code><br \/>\n  <font color=blue>$ours=\"our\";<\/font><br \/>\n  for ($io=1; $io<sizeof($photos); $io++) {\n    <font color=blue>$ours=ourcomplicated($io, $iappliedto);<\/font><br \/>\n    \/\/ blah blah blah<br \/>\n    if (strpos($aphoto[0], \";base64,\") !== false) {<br \/>\n      $gifphp.=str_replace(\"imagecreatefromjpeg('source01.jpg');\", \"<font color=blue>\" . $<\/font>our<font color=blue>s . \"<\/font>imagecreatefromstring(base64_decode('\" . explode(\";base64,\",$aphoto[0])[1] . \"'));\", str_replace(\"\\$text='';\", \"\\$text=\\\"\" . str_replace(\"+\",\" \",urldecode($atext)) . \"\\\";\", $eachonestring));<br \/>\n    } else if (strpos(strtolower($aphoto[0]), \"\/\/\") !== false) {<br \/>\n      $gifphp.=str_replace(\"imagecreatefromjpeg('source01.jpg');\", \"<font color=blue>\" . $<\/font>our<font color=blue>s . \"<\/font>imagecreatefromstring(@file_get_contents('\" . $prefix . $aphoto[0] . \"'));\", str_replace(\"\\$text='';\", \"\\$text=\\\"\" . str_replace(\"+\",\" \",urldecode($atext)) . \"\\\";\", $eachone));<br \/>\n    } else if (strpos(strtolower($aphoto[0]), \".jp\") !== false) {<br \/>\n      if (strpos($prefix, \"..\/..\/\") !== false && !file_exists($prefix . $aphoto[0]) && file_exists(str_replace(\"..\/..\/\",\"..\/\",$prefix) . $aphoto[0])) {<br \/>\n        $prefix=str_replace(\"..\/..\/\",\"..\/\",$prefix);<br \/>\n      }<br \/>\n      \/\/file_put_contents('qpqp.qpqp', $eachone . \"\\n\\n\" . $atext . \"\\n\\n\" . str_replace(\"\\$text='';\", \"\\$text=\\\"\" . str_replace(\"+\",\" \",urldecode($atext)) . \"\\\";\", $eachone));<br \/>\n      $gifphp.=str_replace(\"imagecreatefromjpeg('source01.jpg');\", \"<font color=blue>\" . $<\/font>our<font color=blue>s . \"<\/font>imagecreatefromjpeg('\" . $prefix . $aphoto[0] . \"');\", str_replace(\"\\$text='';\", \"\\$text=\\\"\" . str_replace(\"+\",\" \",urldecode($atext)) . \"\\\";\", $eachone));<br \/>\n      \/\/file_put_contents('qpqpqp.qpqpqp', $gifphp);<br \/>\n    } else if (strpos(strtolower($aphoto[0]), \".png\") !== false) {<br \/>\n      if (strpos($prefix, \"..\/..\/\") !== false && !file_exists($prefix . $aphoto[0]) && file_exists(str_replace(\"..\/..\/\",\"..\/\",$prefix) . $aphoto[0])) {<br \/>\n        $prefix=str_replace(\"..\/..\/\",\"..\/\",$prefix);<br \/>\n      }<br \/>\n      $gifphp.=str_replace(\"imagecreatefromjpeg('source01.jpg');\", \"<font color=blue>\" . $<\/font>our<font color=blue>s . \"<\/font>imagecreatefrompng('\" . $prefix . $aphoto[0] . \"');\", str_replace(\"\\$text='';\", \"\\$text=\\\"\" . str_replace(\"+\",\" \",urldecode($atext)) . \"\\\";\", $eachone));<br \/>\n    } else if (strpos(strtolower($aphoto[0]), \".gif\") !== false) {<br \/>\n      if (strpos($prefix, \"..\/..\/\") !== false && !file_exists($prefix . $aphoto[0]) && file_exists(str_replace(\"..\/..\/\",\"..\/\",$prefix) . $aphoto[0])) {<br \/>\n        $prefix=str_replace(\"..\/..\/\",\"..\/\",$prefix);<br \/>\n      }<br \/>\n      $gifphp.=str_replace(\"imagecreatefromjpeg('source01.jpg');\", \"<font color=blue>\" . $<\/font>our<font color=blue>s . \"<\/font>imagecreatefromgif('\" . $prefix . $aphoto[0] . \"');\", str_replace(\"\\$text='';\", \"\\$text=\\\"\" . str_replace(\"+\",\" \",urldecode($atext)) . \"\\\";\", $eachone));<br \/>\n    } else if (strpos(strtolower($aphoto[0]), \".bmp\") !== false) {<br \/>\n      if (strpos($prefix, \"..\/..\/\") !== false && !file_exists($prefix . $aphoto[0]) && file_exists(str_replace(\"..\/..\/\",\"..\/\",$prefix) . $aphoto[0])) {<br \/>\n        $prefix=str_replace(\"..\/..\/\",\"..\/\",$prefix);<br \/>\n      }<br \/>\n      $gifphp.=str_replace(\"imagecreatefromjpeg('source01.jpg');\", \"<font color=blue>\" . $<\/font>our<font color=blue>s . \"<\/font>imagecreatefrombmp('\" . $prefix . $aphoto[0] . \"');\", str_replace(\"\\$text='';\", \"\\$text=\\\"\" . str_replace(\"+\",\" \",urldecode($atext)) . \"\\\";\", $eachone));<br \/>\n    }<br \/>\n    \/\/ blah blah blah<br \/>\n  }<br \/>\n<\/code><br \/>\n?&gt;<\/p>\n<p>We use these &#8220;new abilities&#8221; better explaining &#8220;the abscence or otherwise of Exif checking&#8221;, and the implications of that in the animated GIF creator woooooorrrrrrlllllddd, contrasting the first two slides, showing one with &#8220;No Exif checking&#8221; <font size=1>(the bad old days)<\/font> versus &#8220;With Exif checking&#8221; <font size=1>(the renaissance of liberated thinking in the South South East woooorrrrrlllldddd)<\/font> in today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/making_of_slide_number_nuance.gif\" title=\"Tutorial picture\">animated GIF<\/a> presentation.<\/p>\n<p>Get the picture?!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-slide-specific-application-tutorial\/'>Animated GIF Creator Slide Specific Application Tutorial<\/a>.<\/p-->\n<hr>\n<p id='agifcerct'>Previous relevant <a target=_blank title='Animated GIF Creator Exif Rotation Compensation Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-exif-rotation-compensation-tutorial\/'>Animated GIF Creator Exif Rotation Compensation Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php\"><img decoding=\"async\" id='qmgti' style=\"float:left; border: 15px solid pink;\" alt=\"Animated GIF Creator Exif Rotation Compensation Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/exif_one_two.jpg\" title=\"Animated GIF Creator Exif Rotation Compensation Tutorial\" \/><\/a><p class=\"wp-caption-text\">Animated GIF Creator Exif Rotation Compensation Tutorial<\/p><\/div>\n<p>The recent couple of days of work like yesterday&#8217;s <a title='Animated GIF Creator GD Transformations Interfacing Tutorial' href='#agifcgdtit'>Animated GIF Creator GD Transformations Interfacing Tutorial<\/a> have given us &#8220;rotation functionality&#8221; tools to counteract the unusual effects Exif &#8230;<\/p>\n<blockquote cite='https:\/\/en.wikipedia.org\/wiki\/Exif'><p>\nExchangeable image file format (officially Exif, according to JEIDA\/JEITA\/CIPA specifications) is a standard that specifies the formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other systems handling image and sound files recorded by digital cameras.\n<\/p><\/blockquote>\n<p> &#8230; can have converting mobile device camera created images into animated GIFs via <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php------------------------------------GETME\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php------------------------------------GETME\">tutorial_to_animated_gif.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php' title='Animated GIF Creator'>Animated GIF Creator<\/a> PHP web application.<\/p>\n<p>But with some photos it&#8217;s there in the photo&#8217;s metadata information letting the future user know what orientation the camera of that mobile device was in as you took the photo.  In order to help our animated GIF creator, the first slide image is scoured for Exif metadata and if found, a suitable rotation correction can be applied to the slides there and then.  In order to scour for Exif metadata we needed to write a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/exif_rotation_check.php_GETME\">exif_rotation_check.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/exif_rotation_check.php' title='Animated GIF Creator helper'>Exif detector<\/a> PHP helper.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-exif-rotation-compensation-tutorial\/'>Animated GIF Creator Exif Rotation Compensation Tutorial<\/a>.<\/p-->\n<hr>\n<p id='agifcgdtit'>Previous relevant <a target=_blank title='Animated GIF Creator GD Transformations Interfacing Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-gd-transformations-interfacing-tutorial\/'>Animated GIF Creator GD Transformations Interfacing Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php\"><img decoding=\"async\" id='qmgti' style=\"float:left; border: 15px solid pink;\" alt=\"Animated GIF Creator GD Transformations Interfacing Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/ttag_gd_rotate.jpg\" title=\"Animated GIF Creator GD Transformations Interfacing Tutorial\" \/><\/a><p class=\"wp-caption-text\">Animated GIF Creator GD Transformations Interfacing Tutorial<\/p><\/div>\n<p>The PHP <a target=_blank title='PHP GD' href='https:\/\/www.php.net\/manual\/en\/function.gd-info.php'>GD<\/a> image library is so much more useful than for the &#8220;filters&#8221; interfaced to with yesterday&#8217;s <a title='Animated GIF Creator GD Filter Interfacing Tutorial' href='#agifcgdfit'>Animated GIF Creator GD Filter Interfacing Tutorial<\/a>.  Under an &#8220;umbrella term&#8221; transformations, today we add interfacing to <a target=_blank title='PHP GD' href='https:\/\/www.php.net\/manual\/en\/function.gd-info.php'>GD<\/a> functionality &#8230;<\/p>\n<p><select size=11 data-onchenge=gdadd(this);><option value='CROPAUTO CROP DEFAULT'>Crop Default<\/option><option value='CROPAUTO CROP TRANSPARENT'>Crop Transparent<\/option><option value='CROPAUTO CROP BLACK'>Crop Black<\/option><option value='CROPAUTO CROP WHITE'>Crop White<\/option><option value='CROPAUTO CROP SIDES'>Crop Sides<\/option><option value='CROPAUTO CROP THRESHOLD'>Crop Threshold<\/option><option value='Scale,width to scale the image to,height to scale the image to'>Scale<\/option><option value='Rotate,anticlockwise angle in degrees,colour of the uncovered zone after the rotation'>Rotate<\/option><option value='Copymerge,\" . \"$\" . \"oimo,x-coordinate of destination point,y-coordinate of destination point,x-coordinate of source point,y-coordinate of source point,source width,source height,percentage application'>Copy Merge<\/option><option value='Copyresized,\" . \"$\" . \"oimo,x-coordinate of destination point,y-coordinate of destination point,x-coordinate of source point,y-coordinate of source point,destination width,destination height,source width,source height'>Copy Resized<\/option><option value='Fill,x-coordinate of start point,y-coordinate of start point,colour to fill with'>Fill<\/option><\/select><\/p>\n<p> &#8230; into <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php-----------------------------------GETME\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php-----------------------------------GETME\">tutorial_to_animated_gif.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php' title='Animated GIF Creator'>Animated GIF Creator<\/a> PHP web application.  We found it more user friendly to tailor the asking of numerical parameters for these GD calls work via &#8230;<\/p>\n<p>&lt;?php<br \/>\n<code><br \/>\n $gfcds='';<br \/>\n $gdfs=[];<br \/>\n if (strpos(($imvgn . $imafn . $imqty . $imgds), '|') !== false) {<br \/>\n    $gdfs=explode(';', trim(explode('|', $imvgn . $imafn . $imqty . $imgds)[1]));<br \/>\n    for ($itf=0; $itf&lt;sizeof($gdfs); $itf++) {<br \/>\n     if (trim($gdfs[$itf]) != '') {<br \/>\n      if (trim($gdfs[$itf]) == strtolower(trim($gdfs[$itf]))) {<br \/>\n      $gfcds.=chr(10) . \" imagefilter(\" . \"$\" . \"oimo, IMG_FILTER_\" . strtoupper(trim($gdfs[$itf])) . \"); \" . chr(10);<br \/>\n      } else if (trim($gdfs[$itf]) == strtoupper(trim($gdfs[$itf]))) {<br \/>\n      $gfcds.=chr(10) . \" image\" . explode(',',explode(\" \",strtolower(trim($gdfs[$itf])))[0])[0] . \"(\" . \"$\" . \"oimo, IMG_\" . str_replace(\" \",\"_\",strtoupper(trim(  str_replace(explode(' ',$gdfs[$itf])[0] . ' ','',$gdfs[$itf])   ))) . \"); \" . chr(10);<br \/>\n      } else if (strpos(strtoupper(trim($gdfs[$itf])), \"SCALE\") !== false) {<br \/>\n      $gfcds.=chr(10) . \" $\" . \"oimo=image\" . explode(',',explode(\" \",strtolower(trim($gdfs[$itf])))[0])[0] . \"(\" . \"$\" . \"oimo\" . str_replace(\" \",\"_\",(trim(  str_replace(explode(',',explode(\" \",(trim($gdfs[$itf])))[0])[0],'',$gdfs[$itf])   ))) . \"); \" . chr(10);<br \/>\n      } else if (strpos(strtoupper(trim($gdfs[$itf])), \"COPY\") === false) {<br \/>\n      $gfcds.=chr(10) . \" image\" . explode(',',explode(\" \",strtolower(trim($gdfs[$itf])))[0])[0] . \"(\" . \"$\" . \"oimo\" . str_replace(\" \",\"_\",(trim(  str_replace(explode(',',explode(\" \",(trim($gdfs[$itf])))[0])[0],'',$gdfs[$itf])   ))) . \"); \" . chr(10);<br \/>\n      } else {<br \/>\n      $gfcds.=chr(10) . \" image\" . explode(',',explode(\" \",strtolower(trim($gdfs[$itf])))[0])[0] . \"(\" . \"$\" . \"oimo\" . \",\" . \"$\" . \"oimo\" . explode(\",\" . \"$\" . \"oimo\", $gdfs[$itf])[1] . \"); \" . chr(10);<br \/>\n      }<br \/>\n     }<br \/>\n    }<br \/>\n }<br \/>\n<\/code><br \/>\n?&gt;<\/p>\n<p> &#8230; to work with <font color=blue>modified PHP writes PHP<\/font> of the ilk &#8230;<\/p>\n<p>&lt;?php echo &#8221;<br \/>\n<code><br \/>\nfunction ourimagecreatefromstring(\\$inidis) {<br \/>\nglobal \\$imvgn, \\$imafn, \\$imqty, \\$imgds, \\$gfcds;<br \/>\n  if ((\\$imvgn . \\$imafn . \\$imqty . \\$imgds) != '' && strpos(\\$inidis, ';base64,') !== false) {<br \/>\n    \\$extis=str_replace('jpeg','jpg',explode('\/', explode(';base64,', \\$inidis)[0])[1]);<br \/>\n    \\$inextis=\\$extis;<br \/>\n    \\$sofarout='\/tmp\/imtmp.' . \\$extis;<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       unlink(\\$imfilename);<br \/>\n    }<br \/>\n    file_put_contents(\\$sofarout, base64_encode(explode(';base64,', \\$inidis)[1]));<br \/>\n    \\$fzis=filesize(\\$sofarout);<br \/>\n    if (trim(explode('|', \\$imvgn . \\$imafn . \\$imqty . \\$imgds)[0]) != '') {<br \/>\n    exec('\" . $immogpath . \"mogrify ' . explode('|', \\$imvgn . \\$imafn . \\$imqty . \\$imgds)[0] . ' \/tmp\/imtmp.' . \\$extis);<br \/>\n    }<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       if (filesize(\\$imfilename) != \\$fzis) {  \/\/ strpos(\\$imfilename, '.' . \\$extis) === false ||<br \/>\n         \\$sofarout=\\$imfilename;<br \/>\n         \\$extis=explode('.', \\$imfilename)[1];<br \/>\n       }<br \/>\n    }<br \/>\n    \\$oimo=null;<br \/>\n    if (strtolower(\\$extis) == 'png') {<br \/>\n      \\$oimo=imagecreatefrompng('\/tmp\/imtmp.' . \\$extis); <font color=blue>\" . $gfcds . \"<\/font><br \/>\n    } else if (strtolower(\\$extis) == 'bmp') {<br \/>\n      \\$oimo=imagecreatefrombmp('\/tmp\/imtmp.' . \\$extis); <font color=blue>\" . $gfcds . \"<\/font><br \/>\n    } else if (strtolower(\\$extis) == 'gif') {<br \/>\n      \\$oimo=imagecreatefromgif('\/tmp\/imtmp.' . \\$extis); <font color=blue>\" . $gfcds . \"<\/font><br \/>\n    } else if (strpos(strtolower(\\$extis), 'jp') !== false) {<br \/>\n      \\$oimo=imagecreatefromjpeg('\/tmp\/imtmp.' . \\$extis); <font color=blue>\" . $gfcds . \"<\/font><br \/>\n    }<br \/>\n    if (\\$oimo) { return \\$oimo; }<br \/>\n  } else if ((\\$imvgn . \\$imafn . \\$imqty . \\$imgds) != '') {<br \/>\n    \\$extis=str_replace('jpeg','jpg','\" . $inextis . \"');<br \/>\n    \\$inextis=\\$extis;<br \/>\n    \\$sofarout='\/tmp\/imtmp.' . \\$extis;<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       unlink(\\$imfilename);<br \/>\n    }<br \/>\n    file_put_contents(\\$sofarout, \\$inidis);<br \/>\n    \\$fzis=filesize(\\$sofarout);<br \/>\n    if (strpos(strtolower((\\$imvgn . \\$imafn . \\$imqty . \\$imgds)), '-format ') === false) { \\$imvgn.=' -format \" . str_replace('jpg','jpeg',$inextis) . \" ';  }<br \/>\n    if (trim(explode('|', \\$imvgn . \\$imafn . \\$imqty . \\$imgds)[0]) != '') {<br \/>\n    exec('\" . $immogpath . \"mogrify ' . explode('|', \\$imvgn . \\$imafn . \\$imqty . \\$imgds)[0] . ' \/tmp\/imtmp.' . \\$extis);<br \/>\n    }<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       if (filesize(\\$imfilename) != \\$fzis) {  \/\/ strpos(\\$imfilename, '.' . \\$extis) === false) {<br \/>\n         \\$sofarout=\\$imfilename;<br \/>\n         \\$extis=explode('.', \\$imfilename)[1];<br \/>\n       }<br \/>\n    }<br \/>\n    \\$oimo=null;<br \/>\n    if (strtolower(\\$extis) == 'png') {<br \/>\n      \\$oimo=imagecreatefrompng('\/tmp\/imtmp.' . \\$extis);  <font color=blue>\" . $gfcds . \"<\/font><br \/>\n    } else if (strtolower(\\$extis) == 'bmp') {<br \/>\n      \\$oimo=imagecreatefrombmp('\/tmp\/imtmp.' . \\$extis);  <font color=blue>\" . $gfcds . \"<\/font><br \/>\n    } else if (strtolower(\\$extis) == 'gif') {<br \/>\n      \\$oimo=imagecreatefromgif('\/tmp\/imtmp.' . \\$extis);  <font color=blue>\" . $gfcds . \"<\/font><br \/>\n    } else if (strpos(strtolower(\\$extis), 'jp') !== false) {<br \/>\n      \\$oimo=imagecreatefromjpeg('\/tmp\/imtmp.' . \\$extis);  <font color=blue>\" . $gfcds . \"<\/font><br \/>\n    }<br \/>\n    if (\\$oimo) { return \\$oimo; }<br \/>\n  }<br \/>\n  return imagecreatefromstring(\\$inidis);<br \/>\n}<br \/>\n<\/code><br \/>\n&#8220;; &#8220;?&gt;<\/p>\n<p> &#8230; and to get there clientwise, in the Javascript &#8230;<\/p>\n<p><code><br \/>\nfunction gdadd(oselo) {<br \/>\n var pari=1, thispari='0';<br \/>\n if (oselo.value != '') {<br \/>\n  \/\/alert(oselo.value);<br \/>\n  var oselovalue=oselo.value.replace(',' + '$' + 'oimo','~' + '$' + 'oimo').split(',')[0];<br \/>\n  \/\/alert(oselovalue);<br \/>\n  var oseloval=oselo.value;<br \/>\n  if (document.getElementById('imgds')) { if (document.getElementById('imgds').value == '') { document.getElementById('imgds').value='|';  } else { document.getElementById('imgds').value+=';'; } }<br \/>\n  oseloval=oseloval.replace(',' + '$' + 'oimo','~' + '$' + 'oimo');<br \/>\n  oseloval=oseloval.replace(oseloval.split(',')[0], '');<br \/>\n  while (oseloval.indexOf(',') != -1) {<br \/>\n  \/\/alert(oseloval);<br \/>\n      if ((oseloval + ' ').substring(1).split(',')[0].trim() != '') {<br \/>\n      if ((' ' + (oseloval + ' ').substring(1).split(',')[0].trim() + ' ').toLowerCase().indexOf(' colour ') != -1) {<br \/>\n      thispari=prompt('Enter' + (' ' + (oseloval + ' ').substring(1).split(',')[0].trim() + ' ').toLowerCase().replace(' colour ', ' red,green,blue colour ') + 'parameter for GD ' + oselo.value.split(',')[0] + ' ' + pari + ' of ' + eval(-1 + oselo.value.replace(',' + '$' + 'oimo','').split(',').length)  + '?', '0');<br \/>\n      if (thispari == null) {<br \/>\n        thispari='0';<br \/>\n      } else if (thispari.trim() == '') {<br \/>\n        thispari='0';<br \/>\n      } else if (thispari.indexOf(',') == -1) {<br \/>\n        oselovalue+=',' + thispari + '';<br \/>\n      } else {<br \/>\n        oselovalue+=',imagecolorallocate(' + '$' + 'oimo,' + thispari + ')';<br \/>\n      }<br \/>\n      } else {<br \/>\n      thispari=prompt('Enter ' + (oseloval + ' ').substring(1).split(',')[0].trim() + ' parameter for GD ' + oselo.value.split(',')[0] + ' ' + pari + ' of ' + eval(-1 + oselo.value.replace(',' + '$' + 'oimo','').split(',').length)  + '?', '0');<br \/>\n      if (thispari == null) {<br \/>\n        thispari='0';<br \/>\n      } else {<br \/>\n        oselovalue+=',' + thispari;<br \/>\n      }<br \/>\n      }<br \/>\n      oseloval=oseloval.replace(',' + (oseloval + ' ').substring(1).split(',')[0].trim(),'').trim();<br \/>\n      } else {<br \/>\n      thispari=prompt('Enter numerical parameter for GD ' + oselo.value.split(',')[0] + ' ' + pari + ' of ' + eval(-1 + oselo.value.replace(',' + '$' + 'oimo','').split(',').length)  + '?', '0');<br \/>\n      oseloval=oseloval.replace(',','');<br \/>\n      if (thispari == null) {<br \/>\n        thispari='0';<br \/>\n      } else {<br \/>\n        oselovalue+=',' + thispari;<br \/>\n      }<br \/>\n      }<br \/>\n      \/\/oseloval=oseloval.replace(oseloval.split(',')[0] + ',', '');<br \/>\n      \/\/oseloval=oseloval.replace(',','');<br \/>\n      pari++;<br \/>\n  }<br \/>\n  if (document.getElementById('gdopt')) {<br \/>\n    document.getElementById('gdopt').innerHTML+='&nbsp;&nbsp;' + oselovalue.replace('~',',');<br \/>\n  }<br \/>\n  if (document.getElementById('imgds')) {<br \/>\n    document.getElementById('imgds').value+=oselovalue.replace('~',',');<br \/>\n    \/\/document.getElementById('imgds').style.display='inline-block';<br \/>\n    \/\/document.getElementById('imgds').style.width='300px';<br \/>\n    if (document.getElementById('smyim').innerHTML == '') {  document.getElementById('smyim').innerHTML='ImageMagick switches: '; }<br \/>\n  } else if (document.getElementById('myim')) {<br \/>\n    document.getElementById('myim').innerHTML='&lt;span is=smyim&gt;ImageMagick switches: &lt;\/span&gt;&lt;input id=imqty name=imqty type=text style=display:inline-block; value=\\\"\\\"&gt;&lt;\/input&gt;&lt;input id=imgds name=imgds type=hidden style=display:inline-block; value=\\\"|' + oselovalue.replace('~',',') + '\\\"&gt;&lt;\/input&gt;';<br \/>\n    document.getElementById('imqty').style.width='300px';<br \/>\n  }<br \/>\n  oselo.value='';<br \/>\n }<br \/>\n}<br \/>\n<\/code><\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-gd-transformations-interfacing-tutorial\/'>Animated GIF Creator GD Transformations Interfacing Tutorial<\/a>.<\/p-->\n<hr>\n<p id='agifcgdfit'>Previous relevant <a target=_blank title='Animated GIF Creator GD Filter Interfacing Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-gd-filter-interfacing-tutorial\/'>Animated GIF Creator GD Filter Interfacing Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php\"><img decoding=\"async\" id='qmgti' style=\"float:left; border: 15px solid pink;\" alt=\"Animated GIF Creator GD Filter Interfacing Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/ttag_gd_interfacing.jpg\" title=\"Animated GIF Creator GD Filter Interfacing Tutorial\" \/><\/a><p class=\"wp-caption-text\">Animated GIF Creator GD Filter Interfacing Tutorial<\/p><\/div>\n<p>We are into image modification on the way to creating &#8220;compiled&#8221; animated GIF images, at the moment.  Yesterday&#8217;s <a title='Animated GIF Creator ImageMagick Interfacing Tutorial' href='#agifcimit'>Animated GIF Creator ImageMagick Interfacing Tutorial<\/a> got us interfacing (or integrating) &#8230;<\/p>\n<ul>\n<li><a target=_blank href='http:\/\/imagemagick.org\/index.php'>ImageMagick<\/a> batch processing &#8220;mogrify&#8221; ideas &#8230; and, today, it is the turn of &#8230;<\/li>\n<li><a target=_blank title='PHP GD' href='https:\/\/www.php.net\/manual\/en\/function.gd-info.php'>GD<\/a> image filters &#8230;<br \/>\n<select size=13><option value='grayscale'>Grayscale<\/option><option value='negate'>Negate<\/option><option value='emboss'>Emboss<\/option><option value='edgedetect'>Edge Detect<\/option><option value='brightness,'>Brightness<\/option><option value='contrast,'>Contrast<\/option><option value='smooth,'>Smooth<\/option><option value='colorize,,,'>Colourize<\/option><option value='pixelate,'>Pixelate<\/option><option value='scatter,,'>Scatter<\/option><option value='mean_removal'>Mean Removal<\/option><option value='selective_blur'>Selective Blur<\/option><option value='gaussian_blur'>Gaussian Blur<\/option><\/select>\n<\/li>\n<\/ul>\n<p> &#8230; into <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php----------------------------------GETME\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php----------------------------------GETME\">tutorial_to_animated_gif.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php' title='Animated GIF Creator'>Animated GIF Creator<\/a> PHP web application.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-gd-filter-interfacing-tutorial\/'>Animated GIF Creator GD Filter Interfacing Tutorial<\/a>.<\/p-->\n<hr>\n<p id='agifcimit'>Previous relevant <a target=_blank title='Animated GIF Creator ImageMagick Interfacing Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-imagemagick-interfacing-tutorial\/'>Animated GIF Creator ImageMagick Interfacing Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php\"><img decoding=\"async\" id='qmgti' style=\"float:left; border: 15px solid pink;\" alt=\"Animated GIF Creator ImageMagick Interfacing Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/ttag_im_interfacing.jpg\" title=\"Animated GIF Creator ImageMagick Interfacing Tutorial\" \/><\/a><p class=\"wp-caption-text\">Animated GIF Creator ImageMagick Interfacing Tutorial<\/p><\/div>\n<p>Yes, you guessed it!  On top of yesterday&#8217;s <a title='ImageMagick Vignette Primer Tutorial' href='#imvpt'>ImageMagick Vignette Primer Tutorial<\/a>, today we want to interface the <a target=_blank href='http:\/\/imagemagick.org\/index.php'>ImageMagick<\/a> batch processing &#8220;mogrify&#8221; ideas into <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php---------------------------------GETME\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php---------------------------------GETME\">tutorial_to_animated_gif.php<\/a> inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php' title='Animated GIF Creator'>Animated GIF Creator<\/a> PHP web application.<\/p>\n<p>&#8220;Interfacing&#8221; (or integrating) into code often has you asking the question &#8230;<\/p>\n<p><code><br \/>\nWhere do we intervene to place our logic?<br \/>\n<\/code><\/p>\n<p>We&#8217;ve decided to &#8220;wrap&#8221; our PHP <a target=_blank title='PHP GD' href='https:\/\/www.php.net\/manual\/en\/function.gd-info.php'>GD<\/a> calls &#8230;<\/p>\n<ul>\n<li><a target=_blank href='https:\/\/www.php.net\/manual\/en\/function.imagecreatefromstring.php'>imagecreatefromstring<\/a><\/li>\n<li><a target=_blank href='https:\/\/www.php.net\/manual\/en\/function.imagecreatefromjpeg.php'>imagecreatefromjpeg<\/a><\/li>\n<li><a target=_blank href='https:\/\/www.php.net\/manual\/en\/function.imagecreatefrompng.php'>imagecreatefrompng<\/a><\/li>\n<li><a target=_blank href='https:\/\/www.php.net\/manual\/en\/function.imagecreatefromgif.php'>imagecreatefromgif<\/a><\/li>\n<li><a target=_blank href='https:\/\/www.php.net\/manual\/en\/function.imagecreatefrombmp.php'>imagecreatefrombmp<\/a><\/li>\n<\/ul>\n<p> &#8230; into inhouse &#8220;our&#8221; prefixed function versions as per (PHP writing out PHP) &#8230;<\/p>\n<p>&lt;?php echo &#8221;<br \/>\n<code><br \/>\n \\$imvgn='\" . $imvgn . \"'; \/\" . \"\/ vignette factor<br \/>\n \\$imafn='\" . $imafn . \"'; \/\" . \"\/ affine transformation<br \/>\n \\$imqty='\" . $imqty . \"'; \/\" . \"\/ image conversion and\/or quality RE jpeg<br \/>\n<br \/> <br \/>\nfunction ourimagecreatefromstring(\\$inidis) {<br \/>\nglobal \\$imvgn, \\$imafn, \\$imqty;<br \/>\n  if ((\\$imvgn . \\$imafn . \\$imqty) != '' && strpos(\\$inidis, ';base64,') !== false) {<br \/>\n    \\$extis=str_replace('jpeg','jpg',explode('\/', explode(';base64,', \\$inidis)[0])[1]);<br \/>\n    \\$inextis=\\$extis;<br \/>\n    \\$sofarout='\/tmp\/imtmp.' . \\$extis;<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       unlink(\\$imfilename);<br \/>\n    }<br \/>\n    file_put_contents(\\$sofarout, base64_encode(explode(';base64,', \\$inidis)[1]));<br \/>\n    \\$fzis=filesize(\\$sofarout);<br \/>\n    exec('\" . $immogpath . \"mogrify ' . \\$imvgn . \\$imafn . \\$imqty . ' \/tmp\/imtmp.' . \\$extis);<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       if (filesize(\\$imfilename) != \\$fzis) {  \/\/ strpos(\\$imfilename, '.' . \\$extis) === false ||<br \/>\n         \\$sofarout=\\$imfilename;<br \/>\n         \\$extis=explode('.', \\$imfilename)[1];<br \/>\n       }<br \/>\n    }<br \/>\n    if (strtolower(\\$extis) == 'png') {<br \/>\n      return imagecreatefrompng('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'bmp') {<br \/>\n      return imagecreatefrombmp('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'gif') {<br \/>\n      return imagecreatefromgif('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strpos(strtolower(\\$extis), 'jp') !== false) {<br \/>\n      return imagecreatefromjpeg('\/tmp\/imtmp.' . \\$extis);<br \/>\n    }<br \/>\n  } else if ((\\$imvgn . \\$imafn . \\$imqty) != '') {<br \/>\n    \\$extis=str_replace('jpeg','jpg','\" . $inextis . \"');<br \/>\n    \\$inextis=\\$extis;<br \/>\n    \\$sofarout='\/tmp\/imtmp.' . \\$extis;<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       unlink(\\$imfilename);<br \/>\n    }<br \/>\n    file_put_contents(\\$sofarout, \\$inidis);<br \/>\n    \\$fzis=filesize(\\$sofarout);<br \/>\n    if (strpos(strtolower((\\$imvgn . \\$imafn . \\$imqty)), '-format ') === false) { \\$imvgn.=' -format \" . str_replace('jpg','jpeg',$inextis) . \" ';  }<br \/>\n    exec('\" . $immogpath . \"mogrify ' . \\$imvgn . \\$imafn . \\$imqty . ' \/tmp\/imtmp.' . \\$extis);<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       if (filesize(\\$imfilename) != \\$fzis) {  \/\/ strpos(\\$imfilename, '.' . \\$extis) === false) {<br \/>\n         \\$sofarout=\\$imfilename;<br \/>\n         \\$extis=explode('.', \\$imfilename)[1];<br \/>\n       }<br \/>\n    }<br \/>\n    if (strtolower(\\$extis) == 'png') {<br \/>\n      return imagecreatefrompng('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'bmp') {<br \/>\n      return imagecreatefrombmp('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'gif') {<br \/>\n      return imagecreatefromgif('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strpos(strtolower(\\$extis), 'jp') !== false) {<br \/>\n      return imagecreatefromjpeg('\/tmp\/imtmp.' . \\$extis);<br \/>\n    }<br \/>\n  }<br \/>\n  return imagecreatefromstring(\\$inidis);<br \/>\n}<br \/>\n<br \/>\nfunction ourimagecreatefromjpeg(\\$inidis) {<br \/>\nglobal \\$imvgn, \\$imafn, \\$imqty;<br \/>\n  if ((\\$imvgn . \\$imafn . \\$imqty) != '') {<br \/>\n    \\$extis='jpg';<br \/>\n    \\$inextis=\\$extis;<br \/>\n    \\$sofarout='\/tmp\/imtmp.' . \\$extis;<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       unlink(\\$imfilename);<br \/>\n    }<br \/>\n    file_put_contents(\\$sofarout, \\$inidis);<br \/>\n    \\$fzis=filesize(\\$sofarout);<br \/>\n    exec('\" . $immogpath . \"mogrify ' . \\$imvgn . \\$imafn . \\$imqty . ' \/tmp\/imtmp.' . \\$extis);<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       if (filesize(\\$imfilename) != \\$fzis) {  \/\/ strpos(\\$imfilename, '.' . \\$extis) === false) {<br \/>\n         \\$sofarout=\\$imfilename;<br \/>\n         \\$extis=explode('.', \\$imfilename)[1];<br \/>\n       }<br \/>\n    }<br \/>\n    if (strtolower(\\$extis) == 'png') {<br \/>\n      return imagecreatefrompng('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'bmp') {<br \/>\n      return imagecreatefrombmp('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'gif') {<br \/>\n      return imagecreatefromgif('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strpos(strtolower(\\$extis), 'jp') !== false) {<br \/>\n      return imagecreatefromjpeg('\/tmp\/imtmp.' . \\$extis);<br \/>\n    }<br \/>\n  }<br \/>\n  return imagecreatefromjpeg(\\$inidis);<br \/>\n}<br \/>\n<br \/>\nfunction ourimagecreatefrompng(\\$inidis) {<br \/>\nglobal \\$imvgn, \\$imafn, \\$imqty;<br \/>\n  if ((\\$imvgn . \\$imafn . \\$imqty) != '') {<br \/>\n    \\$extis='png';<br \/>\n    \\$inextis=\\$extis;<br \/>\n    \\$sofarout='\/tmp\/imtmp.' . \\$extis;<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       unlink(\\$imfilename);<br \/>\n    }<br \/>\n    file_put_contents(\\$sofarout, \\$inidis);<br \/>\n    \\$fzis=filesize(\\$sofarout);<br \/>\n    exec('\" . $immogpath . \"mogrify ' . \\$imvgn . \\$imafn . \\$imqty . ' \/tmp\/imtmp.' . \\$extis);<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       if (filesize(\\$imfilename) != \\$fzis) {  \/\/ strpos(\\$imfilename, '.' . \\$extis) === false) {<br \/>\n         \\$sofarout=\\$imfilename;<br \/>\n         \\$extis=explode('.', \\$imfilename)[1];<br \/>\n       }<br \/>\n    }<br \/>\n    if (strtolower(\\$extis) == 'png') {<br \/>\n      return imagecreatefrompng('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'bmp') {<br \/>\n      return imagecreatefrombmp('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'gif') {<br \/>\n      return imagecreatefromgif('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strpos(strtolower(\\$extis), 'jp') !== false) {<br \/>\n      return imagecreatefromjpeg('\/tmp\/imtmp.' . \\$extis);<br \/>\n    }<br \/>\n  }<br \/>\n  return imagecreatefrompng(\\$inidis);<br \/>\n}<br \/>\n<br \/>\nfunction ourimagecreatefromgif(\\$inidis) {<br \/>\nglobal \\$imvgn, \\$imafn, \\$imqty;<br \/>\n  if ((\\$imvgn . \\$imafn . \\$imqty) != '') {<br \/>\n    \\$extis='gif';<br \/>\n    \\$inextis=\\$extis;<br \/>\n    \\$sofarout='\/tmp\/imtmp.' . \\$extis;<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       unlink(\\$imfilename);<br \/>\n    }<br \/>\n    file_put_contents(\\$sofarout, \\$inidis);<br \/>\n    \\$fzis=filesize(\\$sofarout);<br \/>\n    exec('\" . $immogpath . \"mogrify ' . \\$imvgn . \\$imafn . \\$imqty . ' \/tmp\/imtmp.' . \\$extis);<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       if (filesize(\\$imfilename) != \\$fzis) {  \/\/ strpos(\\$imfilename, '.' . \\$extis) === false) {<br \/>\n         \\$sofarout=\\$imfilename;<br \/>\n         \\$extis=explode('.', \\$imfilename)[1];<br \/>\n       }<br \/>\n    }<br \/>\n    if (strtolower(\\$extis) == 'png') {<br \/>\n      return imagecreatefrompng('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'bmp') {<br \/>\n      return imagecreatefrombmp('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'gif') {<br \/>\n      return imagecreatefromgif('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strpos(strtolower(\\$extis), 'jp') !== false) {<br \/>\n      return imagecreatefromjpeg('\/tmp\/imtmp.' . \\$extis);<br \/>\n    }<br \/>\n  }<br \/>\n  return imagecreatefromgif(\\$inidis);<br \/>\n}<br \/>\n<br \/>\nfunction ourimagecreatefrombmp(\\$inidis) {<br \/>\nglobal \\$imvgn, \\$imafn, \\$imqty;<br \/>\n  if ((\\$imvgn . \\$imafn . \\$imqty) != '') {<br \/>\n    \\$extis='bmp';<br \/>\n    \\$inextis=\\$extis;<br \/>\n    \\$sofarout='\/tmp\/imtmp.' . \\$extis;<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       unlink(\\$imfilename);<br \/>\n    }<br \/>\n    file_put_contents(\\$sofarout, \\$inidis);<br \/>\n    \\$fzis=filesize(\\$sofarout);<br \/>\n    exec('\" . $immogpath . \"mogrify ' . \\$imvgn . \\$imafn . \\$imqty . ' \/tmp\/imtmp.' . \\$extis);<br \/>\n    foreach (glob('\/tmp\/imtmp.*') as \\$imfilename) {<br \/>\n       if (filesize(\\$imfilename) != \\$fzis) {  \/\/ strpos(\\$imfilename, '.' . \\$extis) === false) {<br \/>\n         \\$sofarout=\\$imfilename;<br \/>\n         \\$extis=explode('.', \\$imfilename)[1];<br \/>\n       }<br \/>\n    }<br \/>\n    if (strtolower(\\$extis) == 'png') {<br \/>\n      return imagecreatefrompng('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'bmp') {<br \/>\n      return imagecreatefrombmp('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strtolower(\\$extis) == 'gif') {<br \/>\n      return imagecreatefromgif('\/tmp\/imtmp.' . \\$extis);<br \/>\n    } else if (strpos(strtolower(\\$extis), 'jp') !== false) {<br \/>\n      return imagecreatefromjpeg('\/tmp\/imtmp.' . \\$extis);<br \/>\n    }<br \/>\n  }<br \/>\n  return imagecreatefrombmp(\\$inidis);<br \/>\n}<br \/>\n<\/code><br \/>\n&#8220;; ?&gt;<\/p>\n<p> &#8230; and change existant calls into (equivalent inhouse) &#8220;our&#8221; function calls as above.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-imagemagick-interfacing-tutorial\/'>Animated GIF Creator ImageMagick Interfacing Tutorial<\/a>.<\/p-->\n<hr>\n<p id='imvpt'>Previous relevant <a target=_blank title='ImageMagick Vignette Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/imagemagick-vignette-primer-tutorial\/'>ImageMagick Vignette Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/pet_photos_jpg_to_quality_20_jpg_1100_820_180_copy.gif\"><img decoding=\"async\" id='qmgti' style=\"float:left; border: 15px solid pink;\" alt=\"ImageMagick Vignette Primer Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/pet_photos_jpg_to_quality_20_jpg_1100_820_180_vignette_50.gif\" title=\"ImageMagick Vignette Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">ImageMagick Vignette Primer Tutorial<\/p><\/div>\n<p>Continuing on with the  <a target=_blank href='http:\/\/imagemagick.org\/index.php'>ImageMagick<\/a> batch processing &#8220;mogrify&#8221; ideas of yesterday&#8217;s <a target=_blank title='ImageMagick Batch Image Conversion Affine Transformation Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/imagemagick-batch-image-conversion-affine-transformation-tutorial\/'>ImageMagick Batch Image Conversion Affine Transformation Tutorial<\/a> and the <a target=_blank title='Vignette info from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Vignetting'>&#8220;vignette&#8221;<\/a> image editing ideas of <a title='Gimp Vignette Primer Tutorial' href='#gvpt'>Gimp Vignette Primer Tutorial<\/a>, as below, today, we took some pet photos with an iPad&#8217;s Camera app and shared them off the Photos app via two Mail sharing option emails containing seven attachments each.  Using an iPad, the JPEG &#8220;jpg&#8221; output files were too big for our inhouse <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/animegif\/tutorial_to_animated_gif.php' title='Animated GIF Creator'>Animated GIF Creator<\/a> PHP web application to handle, and so to perform the &#8230;<\/p>\n<ul>\n<li>animated GIF presentation, off these downloaded email photo attachments &#8230; and along the way &#8230;<\/li>\n<li>quality adjusted them (yes, &#8220;mogrify&#8221; does not stuff JPG to JPG conversions, and we used &#8220;mogrify&#8221; <i>-quality 20%<\/i> switch here) &#8230; and &#8230;<\/li>\n<li>rotate them 180 degrees (&#8220;mogrify&#8221; uses switches <i>-affine -1,0,0,-1,0,0 -transform +repage<\/i> here) &#8230; and &#8230;<\/li>\n<li>vignette 50% (&#8220;mogrify&#8221; uses switch <i>-vignette 50<\/i> here)<\/li>\n<\/ul>\n<p> &#8230; on the way to compiling into an animated GIF image, and we turned to ImageMagick again, using its affine transformation talents, along with its awesome vignetting talents &#8230;<\/p>\n<form title='mogrify -quality 20% petvignettes12\/*.jpg -comment \"Straight off iPad 3x smaller to 1100x820 pet_photos_jpg_to_quality_20_jpg_1100_820.gif\" ; mogrify -quality 20% -affine -1,0,0,-1,0,0 -transform +repage petvignettes12\/*.jpg -comment \"iPad 3x smaller to 1100x820 pet_photos_jpg_to_quality_20_jpg_1100_820_180.gif copied to pet_photos_jpg_to_quality_20_jpg_1100_820_180_copy.gif\" ; mogrify -quality 20% -affine -1,0,0,-1,0,0 -transform +repage -vignette 50 petvignettes12\/*.jpg -comment \"iPad 3x smaller to 1100x820 pet_photos_jpg_to_quality_20_jpg_1100_820_180_vignette_50.gif\" ; mogrify -vignette 50 petvignettes12\/*_copy.gif -comment \"pet_photos_jpg_to_quality_20_jpg_1100_820_180_copy.gif\"\n' target=vfiframe method=GET onsubmit=\"if (document.getElementById('vfsel').value != '') { document.getElementById('vfiframe').style.display='block';    document.getElementById('vfiframe').src='\/\/www.rjmprogramming.com.au\/Mac\/' + document.getElementById('vfsel').value.toLowerCase(); return false; } return false;\" action='.\/'><br \/>\n<select style='font-size:8px;' onchange=\"document.getElementById('vfiframe').title=this.innerHTML.split(String.fromCharCode(34) + this.value + String.fromCharCode(34) + '')[1].substring(1).split('<')[0]; document.getElementById('vdisplay').click();\" size=5 name=vfsel id=vfsel><option value=\"pet_photos_jpg_to_quality_20_jpg_1100_820.GIF\">Please choose an ImageMagick batch mogrify JPG to JPG with Affine Transformation and\/or Vignetting command below<\/option><option value=\"pet_photos_jpg_to_quality_20_jpg_1100_820.gif\">mogrify -quality 20% petvignettes12\/*.jpg -comment &#8220;Straight off iPad 3x smaller to 1100&#215;820 pet_photos_jpg_to_quality_20_jpg_1100_820.gif&#8221;<\/option><option value=\"pet_photos_jpg_to_quality_20_jpg_1100_820_180.gif\">mogrify -quality 20% -affine -1,0,0,-1,0,0 -transform +repage petvignettes12\/*.jpg -comment &#8220;iPad 3x smaller to 1100&#215;820 pet_photos_jpg_to_quality_20_jpg_1100_820_180.gif copied to pet_photos_jpg_to_quality_20_jpg_1100_820_180_copy.gif&#8221;<\/option><option value=\"pet_photos_jpg_to_quality_20_jpg_1100_820_180_vignette_50.gif\">mogrify -quality 20% -affine -1,0,0,-1,0,0 -transform +repage -vignette 50 petvignettes12\/*.jpg -comment &#8220;iPad 3x smaller to 1100&#215;820 pet_photos_jpg_to_quality_20_jpg_1100_820_180_vignette_50.gif&#8221;<\/option><option value=\"pet_photos_jpg_to_quality_20_jpg_1100_820_180_copy.gif\">mogrify -vignette 50 petvignettes12\/*_copy.gif -comment &#8220;pet_photos_jpg_to_quality_20_jpg_1100_820_180_copy.gif&#8221;<\/option><\/select><br \/>\n<input type=submit value=Display id=vdisplay style=display:none;><\/input><br \/>\n<\/form>\n<p><img name=vfiframe id=vfiframe style=display:block;width:100%;height:100% src=http:\/\/www.rjmprogramming.com.au\/Mac\/pet_photos_jpg_to_quality_20_jpg_1100_820.gif title='mogrify -quality 20% petvignettes12\/*.jpg -comment \"Straight off iPad 3x smaller to 1100x820 pet_photos_jpg_to_quality_20_jpg_1100_820.gif\"'><\/img><\/p>\n<p> &#8230; where the last two dropdown options will be similar, the last showing the input image into ImageMagick can be an animated GIF that is truely treated like an animated GIF.<\/p>\n<p>By the way, should you be interested in photo orientation off a mobile device camera, have a read of <a target=_blank title='PHP Exif Image Information Revisit Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/php-exif-image-information-revisit-tutorial\/'>PHP Exif Image Information Revisit Tutorial<\/a>.<\/p>\n<p>Nala and Luna and Charlie bid you a fond farewell!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/imagemagick-vignette-primer-tutorial\/'>ImageMagick Vignette Primer Tutorial<\/a>.<\/p-->\n<hr>\n<p id='gvpt'>Previous relevant <a target=_blank title='Gimp Vignette Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/gimp-vignette-primer-tutorial\/'>Gimp Vignette Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/GIMP\/Vignette\/\"><img decoding=\"async\" id='qmgti' style=\"float:left; border: 15px solid pink;\" alt=\"Gimp Vignette Primer Tutorial\"  src=\"http:\/\/www.rjmprogramming.com.au\/GIMP\/Vignette\/Vignette.jpg\" title=\"Gimp Vignette Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Gimp Vignette Primer Tutorial<\/p><\/div>\n<p>The last time we talked about the miraculous, redolent and amazing image editor called <a target=_blank href='http:\/\/www.gimp.org' title='Gimp, or GIMP'>Gimp<\/a> am sure there was someone in a shower &#8230; it stands to reason &#8230; and one of those showerers, surely, would have been singing <a target=_blank title='The Gimp Song' href='https:\/\/www.youtube.com\/watch?v=NCR_klyeqCc'>The Gimp Song<\/a> &#8230; and if not &#8230; why not? &#8230; but we digress &#8230; anyway we had the  <a target=_blank href='#gtpt' title='Gimp Transparency Primer Tutorial'>Gimp Transparency Primer Tutorial<\/a> as shown below go into some image transparency issues with Gimp.<\/p>\n<p>In today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/GIMP\/Vignette\/\" title=\"Click picture\">tutorial<\/a> we make use of a great tutorial (even so far as with direct quotes below) called <a target=_blank title='Gimp Vignette tutorial' href='http:\/\/www.wikihow.com\/Add-a-Vignette-to-a-Photograph-with-GIMP'>Add a Vignette to a Photograph with GIMP<\/a> (thanks) to try a photographic technique called <a target=_blank title='Vignetting information via Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Vignetting'>vignetting<\/a> on one of the photographs we added, recently, into the mix of those of the Custom Header Image mix at this blog &#8230; specifically the one of Nala, the dog, on the door ledge.  Need to warn you here and now that if there was the time all over again, it would be better achieved that second time around, but this is not the point with learning, but rather getting some starting point with a great &#8220;product&#8221; like Gimp, and trying it yourself, once you have a method.  It boils down to:<\/p>\n<ol>\n<li>Open Gimp graphical editor application<\/li>\n<li>File-&gt;Open &#8230; pick your image file<\/li>\n<li>Layer-&gt;New Layer (we&#8217;ll call &#8220;Vg&#8221;) &#8230; pick Foreground Colour<\/li>\n<li>In the Layers dialog, click on your &#8220;Vg&#8221; layer to select it, and select Soft light from the &#8220;Mode&#8221; drop-down box<\/li>\n<li>Right click on your &#8220;Vg&#8221; layer and go to Add Layer Mask. In the dialog that pops up, you want &#8220;Initialise Layer Mask to&#8221; set to &#8220;White (full opacity)&#8221;. Click &#8220;Add&#8221;<\/li>\n<li>Below Opacity bar select Link icon next to Eye icon, which will already be showing<\/li>\n<li>Use the freeform select tool (press F to bring this up) and draw a selection somewhere around the primary point of interest in your photo<\/li>\n<li>Use your bucket tool (Shift+B) and click within the selection to fill it<\/li>\n<li>Deselect your selection with Select-&gt;None<\/li>\n<li>Go to Filters-&gt;Blur-&gt;Gaussian Blur. In the dialog that comes up, you want &#8220;Radius&#8221; set to a very large amount; a tenth of the longest edge of the photo is not too much<\/li>\n<li>Click on your &#8220;Vg&#8221; layer to select it (if it isn&#8217;t already selected), and then slide the opacity slider towards the right until the effect is subtle enough. Our (ever so subtle) example of Nala, in the tutorial, used an opacity of about 66%<\/li>\n<li>Click Export button in two windows (NB. this overwrites the image file, so if this is not desirable, export to a different image file name and\/or type)<\/li>\n<\/ol>\n<p>Here is an image comparison <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/GIMP\/Vignette\/beforeafter.html\" title='Before and After'>link<\/a>.<\/p>\n<p>As with most Gimp ideas, jump in and give it a go, as you&#8217;ll find your own ways and means of using this great product &#8230; am pretty sure.<\/p>\n<p>Link to Gimp &#8220;spiritual home&#8221; &#8230; <a target=_blank href='http:\/\/www.gimp.org' title='Gimp'>here<\/a>.<br \/>\nLink to Gimp forum &#8230; <a target=_blank href='http:\/\/gimpforums.com\/' title='Google Geo Charts'>here<\/a>.<\/p>\n<hr \/>\n<p id='gtpt'>Previous relevant <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=9389' title='Gimp Transparency Primer Tutorial'>Gimp Transparency Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/GIMP\/Transparency\/\"><img decoding=\"async\" id='mgti' style=\"float:left; border: 15px solid pink;\" alt=\"Gimp Transparency Primer Tutorial\" onmouseover=\" this.src = this.src.replace('97of.jpg','77of.JPG').replace('77of.jpg','97of.jpg').replace('.JPG','.jpg'); \" src=\"http:\/\/www.rjmprogramming.com.au\/GIMP\/Transparency\/Gimp_Transparency-97of.jpg\" title=\"Gimp Transparency Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Gimp Transparency Primer Tutorial<\/p><\/div>\n<p>Here is a tutorial that adds to a previous <a target=_blank href='#glpt' title='Gimp Layers Primer Tutorial'>Gimp Layers Primer Tutorial<\/a> as shown below, and gives you more insight into the massive possibilities of using a sophisticated image editor and use layers with various amounts of transparency, especially suited to use with png image files.<\/p>\n<p>Today&#8217;s tutorial where we construct a Birthday Card that needs tweaking for the words in front to be seen a bit more clearly, by making the image behind a bit more transparent, changes the transparency of a single image via:<\/p>\n<ol>\n<li>Open Gimp graphical editor application<\/li>\n<li>File-&gt;Open Layers &#8230; pick your image file<\/li>\n<li>If Layers window not showing, make it show via Windows-&gt;Layers &#8211; Brushes<\/li>\n<li>Below Opacity bar select Link icon next to Eye icon, which will already be showing<\/li>\n<li>Change Opacity bar setting to a value of Transparency (100% is Opaque, 0% is Transparent) that suits &#8230; today we do 70%<\/li>\n<li>File-&gt;Export<\/li>\n<li>Click Export button in two windows (NB. this overwrites the image file, so if this is not desirable, export to a different image file name and\/or type)<\/li>\n<\/ol>\n<p>As with most Gimp ideas, jump in and give it a go, as you&#8217;ll find your own ways and means of using this great product &#8230; am pretty sure.<\/p>\n<p>Link to Gimp &#8220;spiritual home&#8221; &#8230; <a target=_blank href='http:\/\/www.gimp.org' title='Gimp'>here<\/a>.<br \/>\nLink to Gimp forum &#8230; <a target=_blank href='http:\/\/gimpforums.com\/' title='Google Geo Charts'>here<\/a>.<\/p>\n<hr \/>\n<p id='glpt'>Previous relevant <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=5366' title='Gimp Layers Primer Tutorial'>Gimp Layers Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/GIMP\/Layers\/GimpLayers.m4v\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Gimp Layers Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/GIMP\/Layers\/GimpLayers.jpg\" title=\"Gimp Layers Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Gimp Layers Primer Tutorial<\/p><\/div>\n<p>Here is a tutorial that gives you an insight into the massive possibilities of using a sophisticated image editor and use layers with various amounts of transparency, especially suited to use with png image files.<\/p>\n<p>Transparency (or its obverse, opacity) can be used to have the one image achieve several &#8220;ends&#8221; (ie. purposes).  Although it is a bit of a clumsy example in the tutorial, you can see that the technique can be used for artistic purposes &#8230; often called &#8220;Photoshopping&#8221; (named after the more famous, and also brilliant, rival product, Photoshop).<\/p>\n<p>Lots of those classic &#8220;Photoshopping&#8221; techniques can be achieved in Gimp, and some other <a target=_blank title='Gimp tutorials here' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=4'>tutorials<\/a> at this blog touch on that.<\/p>\n<p>Am sure you can imagine what the concept of a layer is with regard to image manipulation.   Within Gimp, for beginners not used to this concept, you find yourself underestimating and underplaying what can be achieved with the various layers of a multi-layered image.   In simplistic terms each layer has the functionality in Gimp to be treated as a whole new image, and this is the best way to think of it when trying to achieve what you want to achieve with Gimp.<\/p>\n<p>Link to Gimp &#8220;spiritual home&#8221; &#8230; <a target=_blank href='http:\/\/www.gimp.org' title='Gimp'>here<\/a>.<br \/>\nLink to Gimp forum &#8230; <a target=_blank href='http:\/\/gimpforums.com\/' title='Google Geo Charts'>here<\/a>.<\/p>\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='#d5366' onclick='var dv=document.getElementById(\"d5366\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=4\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d5366' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\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='#d9389' onclick='var dv=document.getElementById(\"d9389\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=GIMP\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d9389' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\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='#d10953' onclick='var dv=document.getElementById(\"d10953\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=photography\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d10953' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d53722' onclick='var dv=document.getElementById(\"d53722\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/vignette\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d53722' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d53746' onclick='var dv=document.getElementById(\"d53746\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/interface\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d53746' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d53751' onclick='var dv=document.getElementById(\"d53751\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/gd\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d53751' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d53756' onclick='var dv=document.getElementById(\"d53756\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/scale\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d53756' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d53762' onclick='var dv=document.getElementById(\"d53762\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/rotation\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d53762' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d53766' onclick='var dv=document.getElementById(\"d53766\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/hardcoding\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d53766' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d53786' onclick='var dv=document.getElementById(\"d53786\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/pdf\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d53786' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d53794' onclick='var dv=document.getElementById(\"d53794\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/sms\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d53794' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To share yesterday&#8217;s Animated GIF Creator PDF Conversion Tutorial PDF data formatted image slides (and then onto an animated GIF) would be a step forward, wouldn&#8217;t you say? What sharing conduits do we code for? We always intended &#8230; email &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/animated-gif-creator-pdf-share-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":[2,4,12,14,37],"tags":[3836,1714,96,111,135,3833,183,234,263,2650,265,1857,319,380,406,418,425,3330,431,2223,2224,1550,3362,571,590,3137,1658,611,3838,3839,1577,3695,626,630,631,662,2178,738,3835,2281,778,861,913,1725,932,2042,1897,1071,1072,1094,1776,1133,1137,3837,2272,3834,1159,1252,1299,1319,1374,3098],"class_list":["post-53794","post","type-post","status-publish","format-standard","hentry","category-ajax","category-animation","category-elearning","category-event-driven-programming","category-tutorials","tag-actual-size","tag-affine","tag-application","tag-attachment","tag-batch","tag-brew","tag-camera","tag-command-line","tag-conversion","tag-convert","tag-copy","tag-crop","tag-desktop","tag-email","tag-exif","tag-file","tag-file-size","tag-fill","tag-filter","tag-flip","tag-flop","tag-gd","tag-hardcoding","tag-homebrew","tag-image","tag-image-editor","tag-imagemagick","tag-install","tag-integrate","tag-integrating","tag-interface","tag-interfacing","tag-ios","tag-ipad","tag-iphone","tag-jpeg","tag-macos","tag-mail","tag-medium","tag-merge","tag-metadata","tag-onclick","tag-pdf","tag-photos","tag-php","tag-png","tag-quality","tag-rotate","tag-rotation","tag-scale","tag-screenshot","tag-share","tag-sharing","tag-shear","tag-size","tag-small","tag-sms","tag-terminal","tag-transformation","tag-tutorial","tag-vignette","tag-wrapper"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/53794"}],"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=53794"}],"version-history":[{"count":5,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/53794\/revisions"}],"predecessor-version":[{"id":53799,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/53794\/revisions\/53799"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=53794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=53794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=53794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}