Supported Versions: PHP 7 >= 7.2.0, PHP 8
Output a BMP image to browser or file
<?php imagebmp(GdImage $image, resource|string|null $file = null, bool $compressed = true): bool
<?php         }



        ob_start();

        imagebmp($this->image->getCore());

        $this->image->mime = defined('IMAGETYPE_BMP') ? image_type_to_mime_type(IMAGETYPE_BMP) : 'image/bmp';

        $buffer = ob_get_contents();

        ob_end_clean();