/** * {@inheritdoc} */ public function flipVertically() { try { $this->gmagick->flipimage(); } catch (\GmagickException $e) { throw new RuntimeException('Vertical flip operation failed', $e->getCode(), $e); } return $this; }