<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.8">
  <compounddef id="classMike42_1_1Escpos_1_1EscposImage" kind="class" prot="public">
    <compoundname>Mike42::Escpos::EscposImage</compoundname>
    <derivedcompoundref refid="classMike42_1_1Escpos_1_1GdEscposImage" prot="public" virt="non-virtual">Mike42\Escpos\GdEscposImage</derivedcompoundref>
    <derivedcompoundref refid="classMike42_1_1Escpos_1_1ImagickEscposImage" prot="public" virt="non-virtual">Mike42\Escpos\ImagickEscposImage</derivedcompoundref>
    <derivedcompoundref refid="classMike42_1_1Escpos_1_1NativeEscposImage" prot="public" virt="non-virtual">Mike42\Escpos\NativeEscposImage</derivedcompoundref>
      <sectiondef kind="protected-attrib">
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1EscposImage_1abbd7d7d81db631a2a555be2906856489" prot="protected" static="no" mutable="no">
        <type></type>
        <definition>int Mike42\Escpos\EscposImage::$imgHeight</definition>
        <argsstring></argsstring>
        <name>$imgHeight</name>
        <initializer>= 0</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>height of the image. </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="44" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="44" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1EscposImage_1a16c9f28626c3fe81aec151042a9e5e58" prot="protected" static="no" mutable="no">
        <type></type>
        <definition>int Mike42\Escpos\EscposImage::$imgWidth</definition>
        <argsstring></argsstring>
        <name>$imgWidth</name>
        <initializer>= 0</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>width of the image </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="50" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="50" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="private-attrib">
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1EscposImage_1a56c62d6eda7c3922a1483f7ba6d3843f" prot="private" static="no" mutable="no">
        <type></type>
        <definition>string Mike42\Escpos\EscposImage::$imgData</definition>
        <argsstring></argsstring>
        <name>$imgData</name>
        <initializer>= null</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Image data in rows: 1 for black, 0 for white. </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="56" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="56" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1EscposImage_1aa644c490026c20298b5bf1385d36f64a" prot="private" static="no" mutable="no">
        <type></type>
        <definition>array:string Mike42\Escpos\EscposImage::$imgColumnData</definition>
        <argsstring></argsstring>
        <name>$imgColumnData</name>
        <initializer>= []</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Cached column-format data to avoid re-computation </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="62" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="62" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1EscposImage_1a09277cd60ad04ef9fc5c4c2043ebb14f" prot="private" static="no" mutable="no">
        <type></type>
        <definition>string Mike42\Escpos\EscposImage::$imgRasterData</definition>
        <argsstring></argsstring>
        <name>$imgRasterData</name>
        <initializer>= null</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Cached raster format data to avoid re-computation </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="68" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="68" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1EscposImage_1a5117a2947eb78d4e6d51bdabe87c9761" prot="private" static="no" mutable="no">
        <type></type>
        <definition>string Mike42\Escpos\EscposImage::$filename</definition>
        <argsstring></argsstring>
        <name>$filename</name>
        <initializer>= null</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Filename of image on disk - null if not loaded from disk. </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="74" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="74" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1EscposImage_1ae1951c81938360bcbaf07a384f1b3e59" prot="private" static="no" mutable="no">
        <type></type>
        <definition>boolean Mike42\Escpos\EscposImage::$allowOptimisations</definition>
        <argsstring></argsstring>
        <name>$allowOptimisations</name>
        <initializer>= true</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>True to allow faster library-specific rendering shortcuts, false to always just use image libraries to read pixels (more reproducible between systems). </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="81" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="81" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-func">
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a57c9f74faf45f6e77dd07513d3d13b37" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::__construct</definition>
        <argsstring>($filename=null, $allowOptimisations=true)</argsstring>
        <name>__construct</name>
        <param>
          <declname>$filename</declname>
          <defval>null</defval>
        </param>
        <param>
          <declname>$allowOptimisations</declname>
          <defval>true</defval>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Construct a new <ref refid="classMike42_1_1Escpos_1_1EscposImage" kindref="compound">EscposImage</ref>.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$filename</parametername>
</parameternamelist>
<parameterdescription>
<para>Path to image filename, or null to create an empty image. </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametertype>boolean</parametertype>
<parametername>$allowOptimisations</parametername>
</parameternamelist>
<parameterdescription>
<para>True (default) to use any library-specific tricks to speed up rendering, false to force the image to be read in pixel-by-pixel, which is easier to unit test and more reproducible between systems, but slower. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="91" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="91" bodyend="95"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a5fc90aeb54972ac8c9063bfb9fb4b663" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getHeight</definition>
        <argsstring>()</argsstring>
        <name>getHeight</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>int height of the image in pixels </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="100" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="100" bodyend="103"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a80376b58e2ae2bfafe1c340a677c8793" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getHeightBytes</definition>
        <argsstring>()</argsstring>
        <name>getHeightBytes</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>int Number of bytes to represent a row of this image </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="108" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="108" bodyend="111"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1aefa8b61d9fcc31a0ddf045b5d98efe14" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getWidth</definition>
        <argsstring>()</argsstring>
        <name>getWidth</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>int Width of the image </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="116" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="116" bodyend="119"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a45f2a33ead91a554c306eaad6444eeb8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getWidthBytes</definition>
        <argsstring>()</argsstring>
        <name>getWidthBytes</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>int Number of bytes to represent a row of this image </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="124" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="124" bodyend="127"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1abd6a1f6b9d55409246d874461e730df0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::toRasterFormat</definition>
        <argsstring>()</argsstring>
        <name>toRasterFormat</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Output the image in raster (row) format. This can result in padding on the right of the image, if its width is not divisible by 8.</para><para><parameterlist kind="exception"><parameteritem>
<parameternamelist>
<parametername>Exception</parametername>
</parameternamelist>
<parameterdescription>
<para>Where the generated data is unsuitable for the printer (indicates a bug or oversized image). </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>string The image in raster format. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="137" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="137" bodyend="157"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1afc16075746bef4c0ff311e85660af7a9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::toColumnFormat</definition>
        <argsstring>($doubleDensity=false)</argsstring>
        <name>toColumnFormat</name>
        <param>
          <declname>$doubleDensity</declname>
          <defval>false</defval>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Output the image in column format.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>boolean</parametertype>
<parametername>$doubleDensity</parametername>
</parameternamelist>
<parameterdescription>
<para>True for double density (24px) lines, false for single-density (8px) lines. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>string[] an array, one item per line of output. All lines will be of equal size. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="165" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="165" bodyend="188"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="protected-func">
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a5b09aa9a7561759dba76282e5b0647cb" prot="protected" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::loadImageData</definition>
        <argsstring>($filename=null)</argsstring>
        <name>loadImageData</name>
        <param>
          <declname>$filename</declname>
          <defval>null</defval>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Load an image from disk. This default implementation always gives a zero-sized image.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametertype>null</parametertype>
<parametername>$filename</parametername>
</parameternamelist>
<parameterdescription>
<para>Filename to load from. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="195" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="195" bodyend="201"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a085b7aab6c7269700d80c8e163aaf365" prot="protected" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::setImgData</definition>
        <argsstring>($data)</argsstring>
        <name>setImgData</name>
        <param>
          <declname>$data</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set image data.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$data</parametername>
</parameternamelist>
<parameterdescription>
<para>Image data to use, string of 1&apos;s (black) and 0&apos;s (white) in row-major order. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="208" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="208" bodyend="211"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a27ea4fc9d668db992c8222400f566307" prot="protected" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::setImgWidth</definition>
        <argsstring>($width)</argsstring>
        <name>setImgWidth</name>
        <param>
          <declname>$width</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set image width.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>int</parametertype>
<parametername>$width</parametername>
</parameternamelist>
<parameterdescription>
<para>width of the image </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="218" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="218" bodyend="221"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a3ff7e9483ccc19429dfbd214cdde520b" prot="protected" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::setImgHeight</definition>
        <argsstring>($height)</argsstring>
        <name>setImgHeight</name>
        <param>
          <declname>$height</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set image height.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>int</parametertype>
<parametername>$height</parametername>
</parameternamelist>
<parameterdescription>
<para>height of the image. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="228" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="228" bodyend="231"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1ae47963982d5922e838356b7e449c2f1a" prot="protected" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getRasterFormatFromFile</definition>
        <argsstring>($filename=null)</argsstring>
        <name>getRasterFormatFromFile</name>
        <param>
          <declname>$filename</declname>
          <defval>null</defval>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$filename</parametername>
</parameternamelist>
<parameterdescription>
<para>Filename to load from </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>string|NULL Raster format data, or NULL if no optimised renderer is available in this implementation. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="240" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="240" bodyend="244"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a51378888dd516e1dd0fd1295b41441d0" prot="protected" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getColumnFormatFromFile</definition>
        <argsstring>($filename=null, $highDensityVertical=true)</argsstring>
        <name>getColumnFormatFromFile</name>
        <param>
          <declname>$filename</declname>
          <defval>null</defval>
        </param>
        <param>
          <declname>$highDensityVertical</declname>
          <defval>true</defval>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$filename</parametername>
</parameternamelist>
<parameterdescription>
<para>Filename to load from </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametertype>boolean</parametertype>
<parametername>$highDensityVertical</parametername>
</parameternamelist>
<parameterdescription>
<para>True for high density output (24px lines), false for regular density (8px) </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>string[]|NULL Column format data as array, or NULL if optimised renderer isn&apos;t available in this implementation. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="255" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="255" bodyend="259"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="private-func">
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a17866f3a1f94adb677025a1c1ed3b111" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getRasterFormat</definition>
        <argsstring>()</argsstring>
        <name>getRasterFormat</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get column fromat from loaded image pixels, line by line.</para><para><parameterlist kind="exception"><parameteritem>
<parameternamelist>
<parametername>Exception</parametername>
</parameternamelist>
<parameterdescription>
<para>Where wrong number of bytes has been generated. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>string Raster format data </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="269" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="269" bodyend="305"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1ac8e345f9aeff3323496a7220776292cf" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getColumnFormat</definition>
        <argsstring>($highDensity)</argsstring>
        <name>getColumnFormat</name>
        <param>
          <declname>$highDensity</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get column fromat from loaded image pixels, line by line.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>boolean</parametertype>
<parametername>$highDensity</parametername>
</parameternamelist>
<parameterdescription>
<para>True for high density output (24px lines), false for regular density (8px) </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>string[] Array of column format data, one item per row. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="315" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="315" bodyend="324"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a0e35bd2d1ad95fda3fead77ccc7ea2ac" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\EscposImage::getColumnFormatLine</definition>
        <argsstring>($lineNo, $highDensity)</argsstring>
        <name>getColumnFormatLine</name>
        <param>
          <declname>$lineNo</declname>
        </param>
        <param>
          <declname>$highDensity</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Output image in column format. Must be called once for each line of output.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>int</parametertype>
<parametername>$lineNo</parametername>
</parameternamelist>
<parameterdescription>
<para>Line number to retrieve </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametertype>bool</parametertype>
<parametername>$highDensity</parametername>
</parameternamelist>
<parameterdescription>
<para>True for high density output (24px lines), false for regular density (8px) </para></parameterdescription>
</parameteritem>
</parameterlist>
<parameterlist kind="exception"><parameteritem>
<parameternamelist>
<parametername>Exception</parametername>
</parameternamelist>
<parameterdescription>
<para>Where wrong number of bytes has been generated. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>NULL|string Column format data, or null if there is no more data (when iterating) </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="338" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="338" bodyend="383"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-static-func">
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a276149e93b80d9c8ca60cca73402c68b" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>static</type>
        <definition>static Mike42\Escpos\EscposImage::isGdLoaded</definition>
        <argsstring>()</argsstring>
        <name>isGdLoaded</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>boolean True if GD is loaded, false otherwise </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="388" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="388" bodyend="391"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1a57ec8e7158c5c5fb2930c1f185a4b2d7" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>static</type>
        <definition>static Mike42\Escpos\EscposImage::isImagickLoaded</definition>
        <argsstring>()</argsstring>
        <name>isImagickLoaded</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>boolean True if Imagick is loaded, false otherwise </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="396" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="396" bodyend="399"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1EscposImage_1ac0c246b80a6934a3840968b19517f48c" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>static</type>
        <definition>static Mike42\Escpos\EscposImage::load</definition>
        <argsstring>($filename, $allowOptimisations=true, array $preferred=[&apos;imagick&apos;, &apos;gd&apos;, &apos;native&apos;])</argsstring>
        <name>load</name>
        <param>
          <declname>$filename</declname>
        </param>
        <param>
          <declname>$allowOptimisations</declname>
          <defval>true</defval>
        </param>
        <param>
          <type>array</type>
          <declname>$preferred</declname>
          <defval>[&apos;imagick&apos;</defval>
        </param>
        <param>
          <type>&apos;gd&apos;</type>
        </param>
        <param>
          <type>&apos;native&apos;]</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>This is a convinience method to load an image from file, auto-selecting an <ref refid="classMike42_1_1Escpos_1_1EscposImage" kindref="compound">EscposImage</ref> implementation which uses an available library.</para><para>The sub-classes can be constructed directly if you know that you will have Imagick or GD on the print server.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$filename</parametername>
</parameternamelist>
<parameterdescription>
<para>File to load from </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametertype>bool</parametertype>
<parametername>$allowOptimisations</parametername>
</parameternamelist>
<parameterdescription>
<para>True to allow the fastest rendering shortcuts, false to force the library to read the image into an internal raster format and use PHP to render the image (slower but less fragile). </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametertype>array</parametertype>
<parametername>$preferred</parametername>
</parameternamelist>
<parameterdescription>
<para>Order to try to load libraries in- escpos-php supports pluggable image libraries. Items can be &apos;imagick&apos;, &apos;gd&apos;, &apos;native&apos;. </para></parameterdescription>
</parameteritem>
</parameterlist>
<parameterlist kind="exception"><parameteritem>
<parameternamelist>
<parametername>Exception</parametername>
</parameternamelist>
<parameterdescription>
<para>Where no suitable library could be found for the type of file being loaded. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para><ref refid="classMike42_1_1Escpos_1_1EscposImage" kindref="compound">EscposImage</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="423" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="423" bodyend="459"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
<para>This class deals with images in raster formats, and converts them into formats which are suitable for use on thermal receipt printers. Currently, only PNG images (in) and ESC/POS raster format (out) are implemeted.</para><para>Input formats:<itemizedlist>
<listitem><para>Currently, only PNG is supported.</para></listitem><listitem><para>Other easily read raster formats (jpg, gif) will be added at a later date, as this is not complex.</para></listitem><listitem><para>The BMP format can be directly read by some commands, but this has not yet been implemented.</para></listitem></itemizedlist>
</para><para>Output formats:<itemizedlist>
<listitem><para>Currently, only ESC/POS raster format is supported</para></listitem><listitem><para>ESC/POS &apos;column format&apos; support is partially implemented, but is not yet used by Escpos.php library.</para></listitem><listitem><para>Output as multiple rows of column format image is not yet in the works.</para></listitem></itemizedlist>
</para><para>Libraries:<itemizedlist>
<listitem><para>Currently, php-gd is used to read the input. Support for imagemagick where gd is not installed is also not complex to add, and is a likely future feature.</para></listitem><listitem><para>Support for native use of the BMP format is a goal, for maximum compatibility with target environments. </para></listitem></itemizedlist>
</para>    </detaileddescription>
    <inheritancegraph>
      <node id="114">
        <label>Mike42\Escpos\NativeEscposImage</label>
        <link refid="classMike42_1_1Escpos_1_1NativeEscposImage"/>
        <childnode refid="111" relation="public-inheritance">
        </childnode>
      </node>
      <node id="112">
        <label>Mike42\Escpos\GdEscposImage</label>
        <link refid="classMike42_1_1Escpos_1_1GdEscposImage"/>
        <childnode refid="111" relation="public-inheritance">
        </childnode>
      </node>
      <node id="111">
        <label>Mike42\Escpos\EscposImage</label>
        <link refid="classMike42_1_1Escpos_1_1EscposImage"/>
      </node>
      <node id="113">
        <label>Mike42\Escpos\ImagickEscposImage</label>
        <link refid="classMike42_1_1Escpos_1_1ImagickEscposImage"/>
        <childnode refid="111" relation="public-inheritance">
        </childnode>
      </node>
    </inheritancegraph>
    <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" line="39" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/EscposImage.php" bodystart="38" bodyend="460"/>
    <listofallmembers>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1ae1951c81938360bcbaf07a384f1b3e59" prot="private" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>$allowOptimisations</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a5117a2947eb78d4e6d51bdabe87c9761" prot="private" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>$filename</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1aa644c490026c20298b5bf1385d36f64a" prot="private" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>$imgColumnData</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a56c62d6eda7c3922a1483f7ba6d3843f" prot="private" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>$imgData</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1abbd7d7d81db631a2a555be2906856489" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>$imgHeight</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a09277cd60ad04ef9fc5c4c2043ebb14f" prot="private" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>$imgRasterData</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a16c9f28626c3fe81aec151042a9e5e58" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>$imgWidth</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a57c9f74faf45f6e77dd07513d3d13b37" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>__construct</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1ac8e345f9aeff3323496a7220776292cf" prot="private" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getColumnFormat</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a51378888dd516e1dd0fd1295b41441d0" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getColumnFormatFromFile</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a0e35bd2d1ad95fda3fead77ccc7ea2ac" prot="private" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getColumnFormatLine</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a5fc90aeb54972ac8c9063bfb9fb4b663" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getHeight</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a80376b58e2ae2bfafe1c340a677c8793" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getHeightBytes</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a17866f3a1f94adb677025a1c1ed3b111" prot="private" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getRasterFormat</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1ae47963982d5922e838356b7e449c2f1a" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getRasterFormatFromFile</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1aefa8b61d9fcc31a0ddf045b5d98efe14" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getWidth</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a45f2a33ead91a554c306eaad6444eeb8" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>getWidthBytes</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a276149e93b80d9c8ca60cca73402c68b" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>isGdLoaded</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a57ec8e7158c5c5fb2930c1f185a4b2d7" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>isImagickLoaded</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1ac0c246b80a6934a3840968b19517f48c" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>load</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a5b09aa9a7561759dba76282e5b0647cb" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>loadImageData</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a085b7aab6c7269700d80c8e163aaf365" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>setImgData</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a3ff7e9483ccc19429dfbd214cdde520b" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>setImgHeight</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1a27ea4fc9d668db992c8222400f566307" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>setImgWidth</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1afc16075746bef4c0ff311e85660af7a9" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>toColumnFormat</name></member>
      <member refid="classMike42_1_1Escpos_1_1EscposImage_1abd6a1f6b9d55409246d874461e730df0" prot="public" virt="non-virtual"><scope>Mike42::Escpos::EscposImage</scope><name>toRasterFormat</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>
