public function output($size = null, $compression = -1, $filters = -1)
    {
        header('Content-Type: image/png');
        return imagepng($this->getImage($size), null, $compression, $filters);
    }