<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022445" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022445</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/imagecopyresized#comment-1138626</link>
    <description> &lt;p&gt;np.&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Oct 2003 19:53:55 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1138626 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/imagecopyresized#comment-1138594</link>
    <description> &lt;p&gt;Great!  Thanks.&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Oct 2003 00:45:54 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1138594 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/imagecopyresized#comment-1138586</link>
    <description> &lt;p&gt;example (reformatting of something i have that works...$pic is the image (full path) and set previously... this gets sent to the browser, you&#039;ll have to adapt to something else).&lt;br /&gt;
also note that the sizes here are in pixels, so that&#039;s putting out a 300 by 300 pixel image&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ImageCreateFromJPEG&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pic&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# image read in&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$width&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ImageSx&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# width (max x coord) of image&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$height&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ImageSy&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# height (max y coord) of image&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$x&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;300&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# new max x coord&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$y&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;300&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# new max y coord&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dst&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ImageCreate&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$x&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$y&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# create a blank image for resize to send to&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ImageCopyResized&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dst&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$x&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$y&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$width&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$height&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# resize&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Content-Type: image/png&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ImagePNG&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dst&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# send to browser&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;umm.. update of what i thought (correct this time)&lt;br /&gt;
ImageCopyResize($destinationImage, $imageSource, $beginingDestXcoordinate, $beginingDestYcoordinate, $beginingSrcXcoordinate, $beginingSrcYcoordinate, $endingDestXcoordinate, $endingDestYcoordinate, $endingSrcXcoordinate, $endingSrcYcoordinate);&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 Oct 2003 17:26:06 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1138586 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/imagecopyresized#comment-1138585</link>
    <description> &lt;p&gt;if i remember correctly first you need to read in the image, then figure out how much of it you want to resize...&lt;/p&gt;
&lt;p&gt;ImageCopyResize($imageSource, $beginingXcoordinate, $beginingYcoordinate, $endingXcoordinate, $endingYcoordinate, $newMaxX, $newMaxY);&lt;/p&gt;
&lt;p&gt;meaning that $imageSource is the source you read in, and the rest should be self explanatory.&lt;/p&gt;
&lt;p&gt;like i said, i&#039;ve done this before (but not as a cron job). gimme a sec, i&#039;ll post an example&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 Oct 2003 17:18:26 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1138585 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/imagecopyresized#comment-1138552</link>
    <description> &lt;p&gt;Have you read through the comments on that function? They seem quite complete. The image is resized, THEN copied, though. It&#039;s resized in memory, then stored in a new location.&lt;/p&gt;
&lt;p&gt;What have you tried?&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Sep 2003 12:00:51 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1138552 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/imagecopyresized#comment-1138541</link>
    <description> &lt;p&gt;ok thanks.&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Sep 2003 01:34:58 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1138541 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/imagecopyresized#comment-1138510</link>
    <description> &lt;p&gt;1 - yes...&lt;/p&gt;
&lt;p&gt;without output...&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;X X X X X /usr/bin/php -f /path/to/your/image_thingy.php &amp;amp; 1&amp;gt;/dev/null/ 2&amp;gt;&amp;amp;1&lt;br /&gt;X X X X X /usr/bin/wget -q -o/dev/null/ --spider /path/to/your/image_thingy.php 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;X X X X X /usr/bin/lynx -source /path/to/your/image_thingy.php 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
with output...&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;X X X X X /usr/bin/php -f /path/to/your/image_thingy.php&lt;br /&gt;X X X X X /usr/bin/wget -q -O- -o/dev/null /path/to/your/image_thingy.php&lt;br /&gt;X X X X X /usr/bin/lynx -dump /path/to/your/image_thingy.php&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;2 - Never used it.  (dont have time to research, atm)&lt;/p&gt;
 </description>
     <pubDate>Mon, 29 Sep 2003 07:54:05 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1138510 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
