Пример #1
0
 /**
  * Sets the format to the current loaded resource.
  *
  * @param string $format The image format, e.g: "jpeg".
  *
  * @return $this
  */
 public function setFormat($format)
 {
     $this->resource->setFormat($format);
     return $this;
 }