public function saveToString($image, $options)
    {
        $outputMethod = $this->getOutputMethod($options);
        ob_start();
        $outputMethod($image);
        $string = ob_get_contents();
        ob_end_clean();
        return $string;
    }