code: public function submitImage(SelectorInterface $selector, $x, $y, $additional = false)
      {
          $additional = $additional ? $additional : array();
          foreach ($this->images as $image) {
              if ($selector->isMatch($image)) {
                  $encoding = $this->encode();
                  $image->write($encoding, $x, $y);
                  if ($additional) {
                      $encoding->merge($additional);
                  }
  
                  return $encoding;
              }
          }
  
          return false;
      }
docs: Gets the submit values for an image.
  
  @param $selector Criteria to apply.
  @param int $x X-coordinate of click.
  @param int $y Y-coordinate of click.
  @param hash $additional  Additional data for the form.
  
  @return SimpleEncoding Submitted values or false if there is no such button in the form.