original_string: public function execute($image)
      {
          $colors = [];
  
          $size = $image->getSize();
  
          for ($x=0; $x <= ($size->width-1); $x++) {
              for ($y=0; $y <= ($size->height-1); $y++) {
                  $colors[] = $image->pickColor($x, $y, 'array');
              }
          }
  
          $this->setOutput(md5(serialize($colors)));
  
          return true;
      }
code: public function execute($image)
      {
          $colors = [];
  
          $size = $image->getSize();
  
          for ($x=0; $x <= ($size->width-1); $x++) {
              for ($y=0; $y <= ($size->height-1); $y++) {
                  $colors[] = $image->pickColor($x, $y, 'array');
              }
          }
  
          $this->setOutput(md5(serialize($colors)));
  
          return true;
      }
code_tokens: public function execute ( $ image ) { $ colors = [ ] ; $ size = $ image -> getSize ( ) ; for ( $ x = 0 ; $ x <= ( $ size -> width - 1 ) ; $ x ++ ) { for ( $ y = 0 ; $ y <= ( $ size -> height - 1 ) ; $ y ++ ) { $ colors [ ] = $ image -> pickColor ( $ x , $ y , 'array' ) ; } } $ this -> setOutput ( md5 ( serialize ( $ colors ) ) ) ; return true ; }
docstring: Calculates checksum of given image
  
  @param  \Intervention\Image\Image $image
  @return boolean
docstring_tokens: Calculates checksum of given image