public function writeToMemory(): string
    {
        Utils::debugLog('writeToMemory', [
            'instance' => $this,
            'arguments' => []
        ]);

        $result = vips_image_write_to_memory($this->image);
        if ($result === -1) {
            self::errorVips();
        }

        Utils::debugLog('writeToMemory', ['result' => $result]);

        return $result;
    }
public function writeToMemory(): string
    {
        Utils::debugLog('writeToMemory', [
            'instance' => $this,
            'arguments' => []
        ]);

        $result = vips_image_write_to_memory($this->image);
        if ($result === -1) {
            self::errorVips();
        }

        Utils::debugLog('writeToMemory', ['result' => $result]);

        return $result;
    }
public function writeToMemory ( ) : string { Utils :: debugLog ( 'writeToMemory' , [ 'instance' => $ this , 'arguments' => [ ] ] ) ; $ result = vips_image_write_to_memory ( $ this -> image ) ; if ( $ result === - 1 ) { self :: errorVips ( ) ; } Utils :: debugLog ( 'writeToMemory' , [ 'result' => $ result ] ) ; return $ result ; }
Write an image to a large memory array.

@throws Exception

@return string The memory array.
Write an image to a large memory array .