Mike42\Escpos\EscposImage::getColumnFormat PHP Method

getColumnFormat() private method

Get column fromat from loaded image pixels, line by line.
private getColumnFormat ( boolean $highDensity ) : string[]
$highDensity boolean True for high density output (24px lines), false for regular density (8px)
return string[] Array of column format data, one item per row.
    private function getColumnFormat($highDensity)
    {
        $out = array();
        $i = 0;
        while (($line = $this->getColumnFormatLine($i, $highDensity)) !== null) {
            $out[] = $line;
            $i++;
        }
        return $out;
    }