/** * {@inheritdoc} */ public function get($format, array $options = array()) { try { $options["format"] = $format; $this->prepareOutput($options); } catch (\GmagickException $e) { throw new RuntimeException('Get operation failed', $e->getCode(), $e); } return $this->gmagick->getimagesblob(); }
/** * {@inheritdoc} */ public function getStream() { return StreamUtils::create($this->gmagick->getimagesblob()); }