/[drupal]/contributions/modules/zoomify/ZoomifyFileProcessor.php
ViewVC logotype

Diff of /contributions/modules/zoomify/ZoomifyFileProcessor.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1.4.1, Wed Aug 13 13:10:10 2008 UTC revision 1.1.2.1.4.2, Fri May 1 02:54:47 2009 UTC
# Line 233  class ZoomifyFileProcessor { Line 233  class ZoomifyFileProcessor {
233  #                               imagecopy            ($imageRow       , $firstRowImage ,         0,         0,         0,         0,  $firstRowWidth, $firstRowHeight);  #                               imagecopy            ($imageRow       , $firstRowImage ,         0,         0,         0,         0,  $firstRowWidth, $firstRowHeight);
234                                  if ($this->_debug) print "imageRow imagecopyresized tierWidth=$tierWidth imageRowHalfHeight= $imageRowHalfHeight firstRowWidth=$firstRowWidth firstRowHeight=$firstRowHeight<br>\n";                                  if ($this->_debug) print "imageRow imagecopyresized tierWidth=$tierWidth imageRowHalfHeight= $imageRowHalfHeight firstRowWidth=$firstRowWidth firstRowHeight=$firstRowHeight<br>\n";
235                                  #       imagecopyresized ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y,       int dst_w,                int dst_h,      int src_w, int src_h )                                  #       imagecopyresized ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y,       int dst_w,                int dst_h,      int src_w, int src_h )
236                                  imagecopyresized     ($imageRow       , $firstRowImage ,         0,         0,         0,         0,      $tierWidth,      $imageRowHalfHeight, $firstRowWidth, $firstRowHeight);                                  imagecopyresized     ($imageRow       , $firstRowImage ,         0,         0,         0,         0,      $tierWidth,      $firstRowHeight/*$imageRowHalfHeight*/, $firstRowWidth, $firstRowHeight);
237                                  unlink($firstRowFile);                                  unlink($firstRowFile);
238                          }                          }
239                          $r=$r+1;                          $r=$r+1;
# Line 248  class ZoomifyFileProcessor { Line 248  class ZoomifyFileProcessor {
248                                  #          imagecopy ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h )                                  #          imagecopy ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h )
249                                  if ($this->_debug) print "imageRow imagecopyresized tierWidth=$tierWidth imageRowHalfHeight= $imageRowHalfHeight firstRowWidth=$firstRowWidth firstRowHeight=$firstRowHeight<br>\n";                                  if ($this->_debug) print "imageRow imagecopyresized tierWidth=$tierWidth imageRowHalfHeight= $imageRowHalfHeight firstRowWidth=$firstRowWidth firstRowHeight=$firstRowHeight<br>\n";
250                                  #       imagecopyresampled ( resource dst_im, resource src_im, int dst_x,                int dst_y, int src_x, int src_y,       int dst_w,           int dst_h,       int src_w,       int src_h )                                  #       imagecopyresampled ( resource dst_im, resource src_im, int dst_x,                int dst_y, int src_x, int src_y,       int dst_w,           int dst_h,       int src_w,       int src_h )
251                                  imagecopyresampled     ($imageRow       , $secondRowImage ,         0,     $imageRowHalfHeight,         0,         0,      $tierWidth, $imageRowHalfHeight, $secondRowWidth, $secondRowHeight);                                  imagecopyresampled     ($imageRow       , $secondRowImage ,         0,     $imageRowHalfHeight,         0,         0,      $tierWidth, $secondRowHeight/*$imageRowHalfHeight*/, $secondRowWidth, $secondRowHeight);
252  #                               imagecopy($imageRow,$secondRowImage,0,$firstRowWidth,0,0,$firstRowWidth,$firstRowHeight);  #                               imagecopy($imageRow,$secondRowImage,0,$firstRowWidth,0,0,$firstRowWidth,$firstRowHeight);
253                                  unlink($secondRowFile);                                  unlink($secondRowFile);
254                          }                          }

Legend:
Removed from v.1.1.2.1.4.1  
changed lines
  Added in v.1.1.2.1.4.2

  ViewVC Help
Powered by ViewVC 1.1.2