chillerlan-QRCode-Output-QRGdImageGIF.html 121 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. <h4 class="phpdocumentor-sidebar__root-namespace">
  82. <a href="namespaces/output.html" class="">Output</a>
  83. </h4>
  84. </section>
  85. <section class="phpdocumentor-sidebar__category">
  86. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  87. <h4 class="phpdocumentor-sidebar__root-namespace">
  88. <a href="packages/Application.html" class="">Application</a>
  89. </h4>
  90. </section>
  91. <section class="phpdocumentor-sidebar__category">
  92. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  93. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  94. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  95. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  96. </section>
  97. <section class="phpdocumentor-sidebar__category">
  98. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  100. </section>
  101. </aside>
  102. <div class="phpdocumentor-column -nine phpdocumentor-content">
  103. <section>
  104. <ul class="phpdocumentor-breadcrumbs">
  105. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  106. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  107. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-output.html">Output</a></li>
  108. </ul>
  109. <article class="phpdocumentor-element -class">
  110. <h2 class="phpdocumentor-content__title">
  111. QRGdImageGIF
  112. <span class="phpdocumentor-element__extends">
  113. extends <a href="classes/chillerlan-QRCode-Output-QRGdImage.html"><abbr title="\chillerlan\QRCode\Output\QRGdImage">QRGdImage</abbr></a>
  114. </span>
  115. <div class="phpdocumentor-element__package">
  116. in package
  117. <ul class="phpdocumentor-breadcrumbs">
  118. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  119. </ul>
  120. </div>
  121. </h2>
  122. <div class="phpdocumentor-label-line">
  123. </div>
  124. <aside class="phpdocumentor-element-found-in">
  125. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImageGIF.php"><a href="files/src-output-qrgdimagegif.html"><abbr title="src/Output/QRGdImageGIF.php">QRGdImageGIF.php</abbr></a></abbr>
  126. :
  127. <span class="phpdocumentor-element-found-in__line">22</span>
  128. </aside>
  129. <p class="phpdocumentor-summary">GdImage gif output</p>
  130. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  131. Tags
  132. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
  133. </h5>
  134. <dl class="phpdocumentor-tag-list">
  135. <dt class="phpdocumentor-tag-list__entry">
  136. <span class="phpdocumentor-tag__name">see</span>
  137. </dt>
  138. <dd class="phpdocumentor-tag-list__definition">
  139. <span class="phpdocumentor-tag-link"><abbr title="\imagegif()">imagegif()</abbr></span>
  140. </dd>
  141. </dl>
  142. <h3 id="toc">
  143. Table of Contents
  144. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  145. </h3>
  146. <h4 id="toc-constants">
  147. Constants
  148. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  149. </h4>
  150. <dl class="phpdocumentor-table-of-contents">
  151. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  152. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#constant_MIME_TYPE">MIME_TYPE</a>
  153. <span>
  154. &nbsp;= &#039;image/gif&#039; </span>
  155. </dt>
  156. </dl>
  157. <h4 id="toc-properties">
  158. Properties
  159. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  160. </h4>
  161. <dl class="phpdocumentor-table-of-contents">
  162. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  163. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_background">$background</a>
  164. <span>
  165. &nbsp;: int </span>
  166. </dt>
  167. <dd>The allocated background color</dd>
  168. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  169. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter</a>
  170. <span>
  171. &nbsp;: float </span>
  172. </dt>
  173. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  174. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius</a>
  175. <span>
  176. &nbsp;: float </span>
  177. </dt>
  178. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  179. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths</a>
  180. <span>
  181. &nbsp;: bool </span>
  182. </dt>
  183. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  184. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules</a>
  185. <span>
  186. &nbsp;: bool </span>
  187. </dt>
  188. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  189. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules</a>
  190. <span>
  191. &nbsp;: bool </span>
  192. </dt>
  193. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  194. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol</a>
  195. <span>
  196. &nbsp;: string </span>
  197. </dt>
  198. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  199. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect</a>
  200. <span>
  201. &nbsp;: array&lt;string|int, mixed&gt; </span>
  202. </dt>
  203. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  204. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_image">$image</a>
  205. <span>
  206. &nbsp;: <abbr title="\GdImage">GdImage</abbr> </span>
  207. </dt>
  208. <dd>The GD image resource</dd>
  209. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  210. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare</a>
  211. <span>
  212. &nbsp;: array&lt;string|int, mixed&gt; </span>
  213. </dt>
  214. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  215. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</a>
  216. <span>
  217. &nbsp;: int </span>
  218. </dt>
  219. <dd>the side length of the QR image (modules * scale)</dd>
  220. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  221. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</a>
  222. <span>
  223. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  224. </dt>
  225. <dd>the (filled) data matrix object</dd>
  226. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  227. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</a>
  228. <span>
  229. &nbsp;: int </span>
  230. </dt>
  231. <dd>the current size of the QR matrix</dd>
  232. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  233. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</a>
  234. <span>
  235. &nbsp;: array&lt;string|int, mixed&gt; </span>
  236. </dt>
  237. <dd>an (optional) array of color values for the several QR matrix parts</dd>
  238. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  239. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</a>
  240. <span>
  241. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  242. </dt>
  243. <dd>the options instance</dd>
  244. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  245. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</a>
  246. <span>
  247. &nbsp;: int </span>
  248. </dt>
  249. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  250. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_upscaled">$upscaled</a>
  251. <span>
  252. &nbsp;: bool </span>
  253. </dt>
  254. <dd>Whether we&#039;re running in upscale mode (scale &lt; 20)</dd>
  255. </dl>
  256. <h4 id="toc-methods">
  257. Methods
  258. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  259. </h4>
  260. <dl class="phpdocumentor-table-of-contents">
  261. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  262. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a>
  263. <span>
  264. &nbsp;: mixed </span>
  265. </dt>
  266. <dd>QROutputAbstract constructor.</dd>
  267. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  268. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_dump">dump()</a>
  269. <span>
  270. &nbsp;: string|<abbr title="\GdImage">GdImage</abbr> </span>
  271. </dt>
  272. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  273. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_moduleValueIsValid">moduleValueIsValid()</a>
  274. <span>
  275. &nbsp;: bool </span>
  276. </dt>
  277. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  278. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_checkGD">checkGD()</a>
  279. <span>
  280. &nbsp;: void </span>
  281. </dt>
  282. <dd>Checks whether GD is installed and if the given mode is supported</dd>
  283. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  284. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a>
  285. <span>
  286. &nbsp;: array&lt;string|int, mixed&gt; </span>
  287. </dt>
  288. <dd>collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  289. returns an array with the transformed modules</dd>
  290. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  291. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a>
  292. <span>
  293. &nbsp;: void </span>
  294. </dt>
  295. <dd>Creates copies of several QROptions values to avoid calling the magic getters
  296. in long loops for a significant performance increase.</dd>
  297. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  298. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_createImage">createImage()</a>
  299. <span>
  300. &nbsp;: <abbr title="\GdImage">GdImage</abbr> </span>
  301. </dt>
  302. <dd>Creates a new GdImage resource and scales it if necessary</dd>
  303. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  304. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_drawImage">drawImage()</a>
  305. <span>
  306. &nbsp;: void </span>
  307. </dt>
  308. <dd>Draws the QR image</dd>
  309. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  310. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_dumpImage">dumpImage()</a>
  311. <span>
  312. &nbsp;: string </span>
  313. </dt>
  314. <dd>Creates the final image by calling the desired GD output function</dd>
  315. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  316. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue">getDefaultModuleValue()</a>
  317. <span>
  318. &nbsp;: mixed </span>
  319. </dt>
  320. <dd>Returns a default value for either dark or light modules (return value depends on the output class)</dd>
  321. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  322. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a>
  323. <span>
  324. &nbsp;: mixed </span>
  325. </dt>
  326. <dd>Returns the prepared value for the given $M_TYPE</dd>
  327. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  328. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a>
  329. <span>
  330. &nbsp;: mixed </span>
  331. </dt>
  332. <dd>Returns the prepared module value at the given coordinate [$x, $y] (convenience)</dd>
  333. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  334. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions">getOutputDimensions()</a>
  335. <span>
  336. &nbsp;: array&lt;string|int, mixed&gt; </span>
  337. </dt>
  338. <dd>Returns a 2 element array with the current output width and height</dd>
  339. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  340. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_module">module()</a>
  341. <span>
  342. &nbsp;: void </span>
  343. </dt>
  344. <dd>Creates a single QR pixel with the given settings</dd>
  345. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  346. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue">prepareModuleValue()</a>
  347. <span>
  348. &nbsp;: mixed </span>
  349. </dt>
  350. <dd>Prepares the value for the given input (return value depends on the output class)</dd>
  351. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  352. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#method_renderImage">renderImage()</a>
  353. <span>
  354. &nbsp;: void </span>
  355. </dt>
  356. <dd>Renders the image with the gdimage function for the desired output</dd>
  357. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  358. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a>
  359. <span>
  360. &nbsp;: void </span>
  361. </dt>
  362. <dd>Saves the qr $data to a $file. If $file is null, nothing happens.</dd>
  363. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  364. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_setBgColor">setBgColor()</a>
  365. <span>
  366. &nbsp;: void </span>
  367. </dt>
  368. <dd>Sets the background color</dd>
  369. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  370. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a>
  371. <span>
  372. &nbsp;: void </span>
  373. </dt>
  374. <dd>Sets/updates the matrix dimensions</dd>
  375. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  376. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a>
  377. <span>
  378. &nbsp;: void </span>
  379. </dt>
  380. <dd>Sets the initial module values</dd>
  381. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  382. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_setTransparencyColor">setTransparencyColor()</a>
  383. <span>
  384. &nbsp;: void </span>
  385. </dt>
  386. <dd>Sets the transparency color</dd>
  387. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  388. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a>
  389. <span>
  390. &nbsp;: string </span>
  391. </dt>
  392. <dd>Returns a base64 data URI for the given string and mime type</dd>
  393. </dl>
  394. <section class="phpdocumentor-constants">
  395. <h3 class="phpdocumentor-elements__header" id="constants">
  396. Constants
  397. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  398. </h3>
  399. <article class="phpdocumentor-element -constant -public ">
  400. <h4 class="phpdocumentor-element__name" id="constant_MIME_TYPE">
  401. MIME_TYPE
  402. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#constant_MIME_TYPE" class="headerlink"><i class="fas fa-link"></i></a>
  403. </h4>
  404. <aside class="phpdocumentor-element-found-in">
  405. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImageGIF.php"><a href="files/src-output-qrgdimagegif.html"><abbr title="src/Output/QRGdImageGIF.php">QRGdImageGIF.php</abbr></a></abbr>
  406. :
  407. <span class="phpdocumentor-element-found-in__line">24</span>
  408. </aside>
  409. <code class="phpdocumentor-signature phpdocumentor-code ">
  410. <span class="phpdocumentor-signature__visibility">public</span>
  411. <span class="phpdocumentor-signature__final">final</span> <span class="phpdocumentor-signature__type">mixed</span>
  412. <span class="phpdocumentor-signature__name">MIME_TYPE</span>
  413. = <span class="phpdocumentor-signature__default-value">&#039;image/gif&#039;</span>
  414. </code>
  415. </article>
  416. </section>
  417. <section class="phpdocumentor-properties">
  418. <h3 class="phpdocumentor-elements__header" id="properties">
  419. Properties
  420. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  421. </h3>
  422. <article
  423. class="
  424. phpdocumentor-element
  425. -property
  426. -protected
  427. "
  428. >
  429. <h4 class="phpdocumentor-element__name" id="property_background">
  430. $background
  431. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_background" class="headerlink"><i class="fas fa-link"></i></a>
  432. <span class="phpdocumentor-element__modifiers">
  433. </span>
  434. </h4>
  435. <aside class="phpdocumentor-element-found-in">
  436. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  437. :
  438. <span class="phpdocumentor-element-found-in__line">45</span>
  439. </aside>
  440. <p class="phpdocumentor-summary">The allocated background color</p>
  441. <code class="phpdocumentor-code phpdocumentor-signature ">
  442. <span class="phpdocumentor-signature__visibility">protected</span>
  443. <span class="phpdocumentor-signature__type">int</span>
  444. <span class="phpdocumentor-signature__name">$background</span>
  445. </code>
  446. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  447. Tags
  448. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_background#tags" class="headerlink"><i class="fas fa-link"></i></a>
  449. </h5>
  450. <dl class="phpdocumentor-tag-list">
  451. <dt class="phpdocumentor-tag-list__entry">
  452. <span class="phpdocumentor-tag__name">see</span>
  453. </dt>
  454. <dd class="phpdocumentor-tag-list__definition">
  455. <span class="phpdocumentor-tag-link"><abbr title="\imagecolorallocate()">imagecolorallocate()</abbr></span>
  456. </dd>
  457. </dl>
  458. </article>
  459. <article
  460. class="
  461. phpdocumentor-element
  462. -property
  463. -protected
  464. "
  465. >
  466. <h4 class="phpdocumentor-element__name" id="property_circleDiameter">
  467. $circleDiameter
  468. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter" class="headerlink"><i class="fas fa-link"></i></a>
  469. <span class="phpdocumentor-element__modifiers">
  470. </span>
  471. </h4>
  472. <aside class="phpdocumentor-element-found-in">
  473. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  474. :
  475. <span class="phpdocumentor-element-found-in__line">67</span>
  476. </aside>
  477. <code class="phpdocumentor-code phpdocumentor-signature ">
  478. <span class="phpdocumentor-signature__visibility">protected</span>
  479. <span class="phpdocumentor-signature__type">float</span>
  480. <span class="phpdocumentor-signature__name">$circleDiameter</span>
  481. </code>
  482. </article>
  483. <article
  484. class="
  485. phpdocumentor-element
  486. -property
  487. -protected
  488. "
  489. >
  490. <h4 class="phpdocumentor-element__name" id="property_circleRadius">
  491. $circleRadius
  492. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius" class="headerlink"><i class="fas fa-link"></i></a>
  493. <span class="phpdocumentor-element__modifiers">
  494. </span>
  495. </h4>
  496. <aside class="phpdocumentor-element-found-in">
  497. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  498. :
  499. <span class="phpdocumentor-element-found-in__line">66</span>
  500. </aside>
  501. <code class="phpdocumentor-code phpdocumentor-signature ">
  502. <span class="phpdocumentor-signature__visibility">protected</span>
  503. <span class="phpdocumentor-signature__type">float</span>
  504. <span class="phpdocumentor-signature__name">$circleRadius</span>
  505. </code>
  506. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  507. Tags
  508. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius#tags" class="headerlink"><i class="fas fa-link"></i></a>
  509. </h5>
  510. <dl class="phpdocumentor-tag-list">
  511. <dt class="phpdocumentor-tag-list__entry">
  512. <span class="phpdocumentor-tag__name">see</span>
  513. </dt>
  514. <dd class="phpdocumentor-tag-list__definition">
  515. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$circleRadius">QROptions::$circleRadius</abbr></span>
  516. </dd>
  517. </dl>
  518. </article>
  519. <article
  520. class="
  521. phpdocumentor-element
  522. -property
  523. -protected
  524. "
  525. >
  526. <h4 class="phpdocumentor-element__name" id="property_connectPaths">
  527. $connectPaths
  528. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths" class="headerlink"><i class="fas fa-link"></i></a>
  529. <span class="phpdocumentor-element__modifiers">
  530. </span>
  531. </h4>
  532. <aside class="phpdocumentor-element-found-in">
  533. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  534. :
  535. <span class="phpdocumentor-element-found-in__line">54</span>
  536. </aside>
  537. <code class="phpdocumentor-code phpdocumentor-signature ">
  538. <span class="phpdocumentor-signature__visibility">protected</span>
  539. <span class="phpdocumentor-signature__type">bool</span>
  540. <span class="phpdocumentor-signature__name">$connectPaths</span>
  541. </code>
  542. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  543. Tags
  544. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths#tags" class="headerlink"><i class="fas fa-link"></i></a>
  545. </h5>
  546. <dl class="phpdocumentor-tag-list">
  547. <dt class="phpdocumentor-tag-list__entry">
  548. <span class="phpdocumentor-tag__name">see</span>
  549. </dt>
  550. <dd class="phpdocumentor-tag-list__definition">
  551. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$connectPaths">QROptions::$connectPaths</abbr></span>
  552. </dd>
  553. </dl>
  554. </article>
  555. <article
  556. class="
  557. phpdocumentor-element
  558. -property
  559. -protected
  560. "
  561. >
  562. <h4 class="phpdocumentor-element__name" id="property_drawCircularModules">
  563. $drawCircularModules
  564. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules" class="headerlink"><i class="fas fa-link"></i></a>
  565. <span class="phpdocumentor-element__modifiers">
  566. </span>
  567. </h4>
  568. <aside class="phpdocumentor-element-found-in">
  569. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  570. :
  571. <span class="phpdocumentor-element-found-in__line">62</span>
  572. </aside>
  573. <code class="phpdocumentor-code phpdocumentor-signature ">
  574. <span class="phpdocumentor-signature__visibility">protected</span>
  575. <span class="phpdocumentor-signature__type">bool</span>
  576. <span class="phpdocumentor-signature__name">$drawCircularModules</span>
  577. </code>
  578. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  579. Tags
  580. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  581. </h5>
  582. <dl class="phpdocumentor-tag-list">
  583. <dt class="phpdocumentor-tag-list__entry">
  584. <span class="phpdocumentor-tag__name">see</span>
  585. </dt>
  586. <dd class="phpdocumentor-tag-list__definition">
  587. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawCircularModules">QROptions::$drawCircularModules</abbr></span>
  588. </dd>
  589. </dl>
  590. </article>
  591. <article
  592. class="
  593. phpdocumentor-element
  594. -property
  595. -protected
  596. "
  597. >
  598. <h4 class="phpdocumentor-element__name" id="property_drawLightModules">
  599. $drawLightModules
  600. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules" class="headerlink"><i class="fas fa-link"></i></a>
  601. <span class="phpdocumentor-element__modifiers">
  602. </span>
  603. </h4>
  604. <aside class="phpdocumentor-element-found-in">
  605. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  606. :
  607. <span class="phpdocumentor-element-found-in__line">60</span>
  608. </aside>
  609. <code class="phpdocumentor-code phpdocumentor-signature ">
  610. <span class="phpdocumentor-signature__visibility">protected</span>
  611. <span class="phpdocumentor-signature__type">bool</span>
  612. <span class="phpdocumentor-signature__name">$drawLightModules</span>
  613. </code>
  614. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  615. Tags
  616. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  617. </h5>
  618. <dl class="phpdocumentor-tag-list">
  619. <dt class="phpdocumentor-tag-list__entry">
  620. <span class="phpdocumentor-tag__name">see</span>
  621. </dt>
  622. <dd class="phpdocumentor-tag-list__definition">
  623. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawLightModules">QROptions::$drawLightModules</abbr></span>
  624. </dd>
  625. </dl>
  626. </article>
  627. <article
  628. class="
  629. phpdocumentor-element
  630. -property
  631. -protected
  632. "
  633. >
  634. <h4 class="phpdocumentor-element__name" id="property_eol">
  635. $eol
  636. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol" class="headerlink"><i class="fas fa-link"></i></a>
  637. <span class="phpdocumentor-element__modifiers">
  638. </span>
  639. </h4>
  640. <aside class="phpdocumentor-element-found-in">
  641. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  642. :
  643. <span class="phpdocumentor-element-found-in__line">58</span>
  644. </aside>
  645. <code class="phpdocumentor-code phpdocumentor-signature ">
  646. <span class="phpdocumentor-signature__visibility">protected</span>
  647. <span class="phpdocumentor-signature__type">string</span>
  648. <span class="phpdocumentor-signature__name">$eol</span>
  649. </code>
  650. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  651. Tags
  652. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol#tags" class="headerlink"><i class="fas fa-link"></i></a>
  653. </h5>
  654. <dl class="phpdocumentor-tag-list">
  655. <dt class="phpdocumentor-tag-list__entry">
  656. <span class="phpdocumentor-tag__name">see</span>
  657. </dt>
  658. <dd class="phpdocumentor-tag-list__definition">
  659. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$eol">QROptions::$eol</abbr></span>
  660. </dd>
  661. </dl>
  662. </article>
  663. <article
  664. class="
  665. phpdocumentor-element
  666. -property
  667. -protected
  668. "
  669. >
  670. <h4 class="phpdocumentor-element__name" id="property_excludeFromConnect">
  671. $excludeFromConnect
  672. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect" class="headerlink"><i class="fas fa-link"></i></a>
  673. <span class="phpdocumentor-element__modifiers">
  674. </span>
  675. </h4>
  676. <aside class="phpdocumentor-element-found-in">
  677. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  678. :
  679. <span class="phpdocumentor-element-found-in__line">56</span>
  680. </aside>
  681. <code class="phpdocumentor-code phpdocumentor-signature ">
  682. <span class="phpdocumentor-signature__visibility">protected</span>
  683. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  684. <span class="phpdocumentor-signature__name">$excludeFromConnect</span>
  685. </code>
  686. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  687. Tags
  688. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect#tags" class="headerlink"><i class="fas fa-link"></i></a>
  689. </h5>
  690. <dl class="phpdocumentor-tag-list">
  691. <dt class="phpdocumentor-tag-list__entry">
  692. <span class="phpdocumentor-tag__name">see</span>
  693. </dt>
  694. <dd class="phpdocumentor-tag-list__definition">
  695. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$excludeFromConnect">QROptions::$excludeFromConnect</abbr></span>
  696. </dd>
  697. </dl>
  698. </article>
  699. <article
  700. class="
  701. phpdocumentor-element
  702. -property
  703. -protected
  704. "
  705. >
  706. <h4 class="phpdocumentor-element__name" id="property_image">
  707. $image
  708. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_image" class="headerlink"><i class="fas fa-link"></i></a>
  709. <span class="phpdocumentor-element__modifiers">
  710. </span>
  711. </h4>
  712. <aside class="phpdocumentor-element-found-in">
  713. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  714. :
  715. <span class="phpdocumentor-element-found-in__line">38</span>
  716. </aside>
  717. <p class="phpdocumentor-summary">The GD image resource</p>
  718. <code class="phpdocumentor-code phpdocumentor-signature ">
  719. <span class="phpdocumentor-signature__visibility">protected</span>
  720. <span class="phpdocumentor-signature__type"><abbr title="\GdImage">GdImage</abbr></span>
  721. <span class="phpdocumentor-signature__name">$image</span>
  722. </code>
  723. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  724. Tags
  725. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_image#tags" class="headerlink"><i class="fas fa-link"></i></a>
  726. </h5>
  727. <dl class="phpdocumentor-tag-list">
  728. <dt class="phpdocumentor-tag-list__entry">
  729. <span class="phpdocumentor-tag__name">see</span>
  730. </dt>
  731. <dd class="phpdocumentor-tag-list__definition">
  732. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Output\imagecreatetruecolor()">imagecreatetruecolor()</abbr></span>
  733. </dd>
  734. </dl>
  735. </article>
  736. <article
  737. class="
  738. phpdocumentor-element
  739. -property
  740. -protected
  741. "
  742. >
  743. <h4 class="phpdocumentor-element__name" id="property_keepAsSquare">
  744. $keepAsSquare
  745. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare" class="headerlink"><i class="fas fa-link"></i></a>
  746. <span class="phpdocumentor-element__modifiers">
  747. </span>
  748. </h4>
  749. <aside class="phpdocumentor-element-found-in">
  750. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  751. :
  752. <span class="phpdocumentor-element-found-in__line">64</span>
  753. </aside>
  754. <code class="phpdocumentor-code phpdocumentor-signature ">
  755. <span class="phpdocumentor-signature__visibility">protected</span>
  756. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  757. <span class="phpdocumentor-signature__name">$keepAsSquare</span>
  758. </code>
  759. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  760. Tags
  761. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare#tags" class="headerlink"><i class="fas fa-link"></i></a>
  762. </h5>
  763. <dl class="phpdocumentor-tag-list">
  764. <dt class="phpdocumentor-tag-list__entry">
  765. <span class="phpdocumentor-tag__name">see</span>
  766. </dt>
  767. <dd class="phpdocumentor-tag-list__definition">
  768. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$keepAsSquare">QROptions::$keepAsSquare</abbr></span>
  769. </dd>
  770. </dl>
  771. </article>
  772. <article
  773. class="
  774. phpdocumentor-element
  775. -property
  776. -protected
  777. "
  778. >
  779. <h4 class="phpdocumentor-element__name" id="property_length">
  780. $length
  781. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length" class="headerlink"><i class="fas fa-link"></i></a>
  782. <span class="phpdocumentor-element__modifiers">
  783. </span>
  784. </h4>
  785. <aside class="phpdocumentor-element-found-in">
  786. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  787. :
  788. <span class="phpdocumentor-element-found-in__line">34</span>
  789. </aside>
  790. <p class="phpdocumentor-summary">the side length of the QR image (modules * scale)</p>
  791. <code class="phpdocumentor-code phpdocumentor-signature ">
  792. <span class="phpdocumentor-signature__visibility">protected</span>
  793. <span class="phpdocumentor-signature__type">int</span>
  794. <span class="phpdocumentor-signature__name">$length</span>
  795. </code>
  796. </article>
  797. <article
  798. class="
  799. phpdocumentor-element
  800. -property
  801. -protected
  802. "
  803. >
  804. <h4 class="phpdocumentor-element__name" id="property_matrix">
  805. $matrix
  806. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  807. <span class="phpdocumentor-element__modifiers">
  808. </span>
  809. </h4>
  810. <aside class="phpdocumentor-element-found-in">
  811. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  812. :
  813. <span class="phpdocumentor-element-found-in__line">44</span>
  814. </aside>
  815. <p class="phpdocumentor-summary">the (filled) data matrix object</p>
  816. <code class="phpdocumentor-code phpdocumentor-signature ">
  817. <span class="phpdocumentor-signature__visibility">protected</span>
  818. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  819. <span class="phpdocumentor-signature__name">$matrix</span>
  820. </code>
  821. </article>
  822. <article
  823. class="
  824. phpdocumentor-element
  825. -property
  826. -protected
  827. "
  828. >
  829. <h4 class="phpdocumentor-element__name" id="property_moduleCount">
  830. $moduleCount
  831. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount" class="headerlink"><i class="fas fa-link"></i></a>
  832. <span class="phpdocumentor-element__modifiers">
  833. </span>
  834. </h4>
  835. <aside class="phpdocumentor-element-found-in">
  836. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  837. :
  838. <span class="phpdocumentor-element-found-in__line">29</span>
  839. </aside>
  840. <p class="phpdocumentor-summary">the current size of the QR matrix</p>
  841. <code class="phpdocumentor-code phpdocumentor-signature ">
  842. <span class="phpdocumentor-signature__visibility">protected</span>
  843. <span class="phpdocumentor-signature__type">int</span>
  844. <span class="phpdocumentor-signature__name">$moduleCount</span>
  845. </code>
  846. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  847. Tags
  848. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount#tags" class="headerlink"><i class="fas fa-link"></i></a>
  849. </h5>
  850. <dl class="phpdocumentor-tag-list">
  851. <dt class="phpdocumentor-tag-list__entry">
  852. <span class="phpdocumentor-tag__name">see</span>
  853. </dt>
  854. <dd class="phpdocumentor-tag-list__definition">
  855. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getSize"><abbr title="\chillerlan\QRCode\Data\QRMatrix::getSize()">QRMatrix::getSize()</abbr></a></span>
  856. </dd>
  857. </dl>
  858. </article>
  859. <article
  860. class="
  861. phpdocumentor-element
  862. -property
  863. -protected
  864. "
  865. >
  866. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  867. $moduleValues
  868. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  869. <span class="phpdocumentor-element__modifiers">
  870. </span>
  871. </h4>
  872. <aside class="phpdocumentor-element-found-in">
  873. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  874. :
  875. <span class="phpdocumentor-element-found-in__line">39</span>
  876. </aside>
  877. <p class="phpdocumentor-summary">an (optional) array of color values for the several QR matrix parts</p>
  878. <code class="phpdocumentor-code phpdocumentor-signature ">
  879. <span class="phpdocumentor-signature__visibility">protected</span>
  880. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  881. <span class="phpdocumentor-signature__name">$moduleValues</span>
  882. </code>
  883. </article>
  884. <article
  885. class="
  886. phpdocumentor-element
  887. -property
  888. -protected
  889. "
  890. >
  891. <h4 class="phpdocumentor-element__name" id="property_options">
  892. $options
  893. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  894. <span class="phpdocumentor-element__modifiers">
  895. </span>
  896. </h4>
  897. <aside class="phpdocumentor-element-found-in">
  898. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  899. :
  900. <span class="phpdocumentor-element-found-in__line">49</span>
  901. </aside>
  902. <p class="phpdocumentor-summary">the options instance</p>
  903. <code class="phpdocumentor-code phpdocumentor-signature ">
  904. <span class="phpdocumentor-signature__visibility">protected</span>
  905. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  906. <span class="phpdocumentor-signature__name">$options</span>
  907. </code>
  908. </article>
  909. <article
  910. class="
  911. phpdocumentor-element
  912. -property
  913. -protected
  914. "
  915. >
  916. <h4 class="phpdocumentor-element__name" id="property_scale">
  917. $scale
  918. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  919. <span class="phpdocumentor-element__modifiers">
  920. </span>
  921. </h4>
  922. <aside class="phpdocumentor-element-found-in">
  923. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  924. :
  925. <span class="phpdocumentor-element-found-in__line">52</span>
  926. </aside>
  927. <code class="phpdocumentor-code phpdocumentor-signature ">
  928. <span class="phpdocumentor-signature__visibility">protected</span>
  929. <span class="phpdocumentor-signature__type">int</span>
  930. <span class="phpdocumentor-signature__name">$scale</span>
  931. </code>
  932. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  933. Tags
  934. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale#tags" class="headerlink"><i class="fas fa-link"></i></a>
  935. </h5>
  936. <dl class="phpdocumentor-tag-list">
  937. <dt class="phpdocumentor-tag-list__entry">
  938. <span class="phpdocumentor-tag__name">see</span>
  939. </dt>
  940. <dd class="phpdocumentor-tag-list__definition">
  941. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$scale">QROptions::$scale</abbr></span>
  942. </dd>
  943. </dl>
  944. </article>
  945. <article
  946. class="
  947. phpdocumentor-element
  948. -property
  949. -protected
  950. "
  951. >
  952. <h4 class="phpdocumentor-element__name" id="property_upscaled">
  953. $upscaled
  954. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_upscaled" class="headerlink"><i class="fas fa-link"></i></a>
  955. <span class="phpdocumentor-element__modifiers">
  956. </span>
  957. </h4>
  958. <aside class="phpdocumentor-element-found-in">
  959. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  960. :
  961. <span class="phpdocumentor-element-found-in__line">52</span>
  962. </aside>
  963. <p class="phpdocumentor-summary">Whether we&#039;re running in upscale mode (scale &lt; 20)</p>
  964. <code class="phpdocumentor-code phpdocumentor-signature ">
  965. <span class="phpdocumentor-signature__visibility">protected</span>
  966. <span class="phpdocumentor-signature__type">bool</span>
  967. <span class="phpdocumentor-signature__name">$upscaled</span>
  968. = <span class="phpdocumentor-signature__default-value">false</span></code>
  969. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  970. Tags
  971. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_upscaled#tags" class="headerlink"><i class="fas fa-link"></i></a>
  972. </h5>
  973. <dl class="phpdocumentor-tag-list">
  974. <dt class="phpdocumentor-tag-list__entry">
  975. <span class="phpdocumentor-tag__name">see</span>
  976. </dt>
  977. <dd class="phpdocumentor-tag-list__definition">
  978. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawCircularModules">QROptions::$drawCircularModules</abbr></span>
  979. </dd>
  980. </dl>
  981. </article>
  982. </section>
  983. <section class="phpdocumentor-methods">
  984. <h3 class="phpdocumentor-elements__header" id="methods">
  985. Methods
  986. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  987. </h3>
  988. <article
  989. class="phpdocumentor-element
  990. -method
  991. -public
  992. "
  993. >
  994. <h4 class="phpdocumentor-element__name" id="method___construct">
  995. __construct()
  996. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  997. </h4>
  998. <aside class="phpdocumentor-element-found-in">
  999. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1000. :
  1001. <span class="phpdocumentor-element-found-in__line">72</span>
  1002. </aside>
  1003. <p class="phpdocumentor-summary">QROutputAbstract constructor.</p>
  1004. <code class="phpdocumentor-code phpdocumentor-signature ">
  1005. <span class="phpdocumentor-signature__visibility">public</span>
  1006. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1007. <div class="phpdocumentor-label-line">
  1008. </div>
  1009. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1010. <dl class="phpdocumentor-argument-list">
  1011. <dt class="phpdocumentor-argument-list__entry">
  1012. <span class="phpdocumentor-signature__argument__name">$options</span>
  1013. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  1014. </dt>
  1015. <dd class="phpdocumentor-argument-list__definition">
  1016. </dd>
  1017. <dt class="phpdocumentor-argument-list__entry">
  1018. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1019. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  1020. </dt>
  1021. <dd class="phpdocumentor-argument-list__definition">
  1022. </dd>
  1023. </dl>
  1024. </article>
  1025. <article
  1026. class="phpdocumentor-element
  1027. -method
  1028. -public
  1029. "
  1030. >
  1031. <h4 class="phpdocumentor-element__name" id="method_dump">
  1032. dump()
  1033. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_dump" class="headerlink"><i class="fas fa-link"></i></a>
  1034. </h4>
  1035. <aside class="phpdocumentor-element-found-in">
  1036. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1037. :
  1038. <span class="phpdocumentor-element-found-in__line">171</span>
  1039. </aside>
  1040. <code class="phpdocumentor-code phpdocumentor-signature ">
  1041. <span class="phpdocumentor-signature__visibility">public</span>
  1042. <span class="phpdocumentor-signature__name">dump</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|<abbr title="\GdImage">GdImage</abbr></span></code>
  1043. <div class="phpdocumentor-label-line">
  1044. </div>
  1045. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1046. <dl class="phpdocumentor-argument-list">
  1047. <dt class="phpdocumentor-argument-list__entry">
  1048. <span class="phpdocumentor-signature__argument__name">$file</span>
  1049. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1050. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1051. <dd class="phpdocumentor-argument-list__definition">
  1052. </dd>
  1053. </dl>
  1054. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1055. Tags
  1056. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_dump#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1057. </h5>
  1058. <dl class="phpdocumentor-tag-list">
  1059. <dt class="phpdocumentor-tag-list__entry">
  1060. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1061. </dt>
  1062. <dd class="phpdocumentor-tag-list__definition">
  1063. </dd>
  1064. <dt class="phpdocumentor-tag-list__entry">
  1065. <span class="phpdocumentor-tag__name">throws</span>
  1066. </dt>
  1067. <dd class="phpdocumentor-tag-list__definition">
  1068. <span class="phpdocumentor-tag-link"><abbr title="\ErrorException">ErrorException</abbr></span>
  1069. </dd>
  1070. </dl>
  1071. <section>
  1072. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1073. <span class="phpdocumentor-signature__response_type">string|<abbr title="\GdImage">GdImage</abbr></span>
  1074. </section>
  1075. </article>
  1076. <article
  1077. class="phpdocumentor-element
  1078. -method
  1079. -public
  1080. -static "
  1081. >
  1082. <h4 class="phpdocumentor-element__name" id="method_moduleValueIsValid">
  1083. moduleValueIsValid()
  1084. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_moduleValueIsValid" class="headerlink"><i class="fas fa-link"></i></a>
  1085. </h4>
  1086. <aside class="phpdocumentor-element-found-in">
  1087. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1088. :
  1089. <span class="phpdocumentor-element-found-in__line">111</span>
  1090. </aside>
  1091. <code class="phpdocumentor-code phpdocumentor-signature ">
  1092. <span class="phpdocumentor-signature__visibility">public</span>
  1093. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">moduleValueIsValid</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1094. <div class="phpdocumentor-label-line">
  1095. </div>
  1096. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1097. <dl class="phpdocumentor-argument-list">
  1098. <dt class="phpdocumentor-argument-list__entry">
  1099. <span class="phpdocumentor-signature__argument__name">$value</span>
  1100. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  1101. </dt>
  1102. <dd class="phpdocumentor-argument-list__definition">
  1103. </dd>
  1104. </dl>
  1105. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1106. Tags
  1107. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_moduleValueIsValid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1108. </h5>
  1109. <dl class="phpdocumentor-tag-list">
  1110. <dt class="phpdocumentor-tag-list__entry">
  1111. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1112. </dt>
  1113. <dd class="phpdocumentor-tag-list__definition">
  1114. </dd>
  1115. </dl>
  1116. <section>
  1117. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1118. <span class="phpdocumentor-signature__response_type">bool</span>
  1119. </section>
  1120. </article>
  1121. <article
  1122. class="phpdocumentor-element
  1123. -method
  1124. -protected
  1125. "
  1126. >
  1127. <h4 class="phpdocumentor-element__name" id="method_checkGD">
  1128. checkGD()
  1129. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_checkGD" class="headerlink"><i class="fas fa-link"></i></a>
  1130. </h4>
  1131. <aside class="phpdocumentor-element-found-in">
  1132. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1133. :
  1134. <span class="phpdocumentor-element-found-in__line">80</span>
  1135. </aside>
  1136. <p class="phpdocumentor-summary">Checks whether GD is installed and if the given mode is supported</p>
  1137. <code class="phpdocumentor-code phpdocumentor-signature ">
  1138. <span class="phpdocumentor-signature__visibility">protected</span>
  1139. <span class="phpdocumentor-signature__name">checkGD</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1140. <div class="phpdocumentor-label-line">
  1141. </div>
  1142. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1143. Tags
  1144. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_checkGD#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1145. </h5>
  1146. <dl class="phpdocumentor-tag-list">
  1147. <dt class="phpdocumentor-tag-list__entry">
  1148. <span class="phpdocumentor-tag__name">throws</span>
  1149. </dt>
  1150. <dd class="phpdocumentor-tag-list__definition">
  1151. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1152. </dd>
  1153. <dt class="phpdocumentor-tag-list__entry">
  1154. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1155. </dt>
  1156. <dd class="phpdocumentor-tag-list__definition">
  1157. </dd>
  1158. </dl>
  1159. </article>
  1160. <article
  1161. class="phpdocumentor-element
  1162. -method
  1163. -protected
  1164. "
  1165. >
  1166. <h4 class="phpdocumentor-element__name" id="method_collectModules">
  1167. collectModules()
  1168. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules" class="headerlink"><i class="fas fa-link"></i></a>
  1169. </h4>
  1170. <aside class="phpdocumentor-element-found-in">
  1171. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1172. :
  1173. <span class="phpdocumentor-element-found-in__line">221</span>
  1174. </aside>
  1175. <p class="phpdocumentor-summary">collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  1176. returns an array with the transformed modules</p>
  1177. <code class="phpdocumentor-code phpdocumentor-signature ">
  1178. <span class="phpdocumentor-signature__visibility">protected</span>
  1179. <span class="phpdocumentor-signature__name">collectModules</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$transform</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  1180. <div class="phpdocumentor-label-line">
  1181. </div>
  1182. <section class="phpdocumentor-description"><p>The transform callback is called with the following parameters:</p>
  1183. <p>$x - current column
  1184. $y - current row
  1185. $M_TYPE - field value
  1186. $M_TYPE_LAYER - (possibly modified) field value that acts as layer id</p>
  1187. </section>
  1188. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1189. <dl class="phpdocumentor-argument-list">
  1190. <dt class="phpdocumentor-argument-list__entry">
  1191. <span class="phpdocumentor-signature__argument__name">$transform</span>
  1192. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
  1193. </dt>
  1194. <dd class="phpdocumentor-argument-list__definition">
  1195. </dd>
  1196. </dl>
  1197. <section>
  1198. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1199. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1200. </section>
  1201. </article>
  1202. <article
  1203. class="phpdocumentor-element
  1204. -method
  1205. -protected
  1206. "
  1207. >
  1208. <h4 class="phpdocumentor-element__name" id="method_copyVars">
  1209. copyVars()
  1210. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars" class="headerlink"><i class="fas fa-link"></i></a>
  1211. </h4>
  1212. <aside class="phpdocumentor-element-found-in">
  1213. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1214. :
  1215. <span class="phpdocumentor-element-found-in__line">91</span>
  1216. </aside>
  1217. <p class="phpdocumentor-summary">Creates copies of several QROptions values to avoid calling the magic getters
  1218. in long loops for a significant performance increase.</p>
  1219. <code class="phpdocumentor-code phpdocumentor-signature ">
  1220. <span class="phpdocumentor-signature__visibility">protected</span>
  1221. <span class="phpdocumentor-signature__name">copyVars</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1222. <div class="phpdocumentor-label-line">
  1223. </div>
  1224. <section class="phpdocumentor-description"><p>These variables are usually used in the &quot;module&quot; methods and are called up to 31329 times (at version 40).</p>
  1225. </section>
  1226. </article>
  1227. <article
  1228. class="phpdocumentor-element
  1229. -method
  1230. -protected
  1231. "
  1232. >
  1233. <h4 class="phpdocumentor-element__name" id="method_createImage">
  1234. createImage()
  1235. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_createImage" class="headerlink"><i class="fas fa-link"></i></a>
  1236. </h4>
  1237. <aside class="phpdocumentor-element-found-in">
  1238. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1239. :
  1240. <span class="phpdocumentor-element-found-in__line">222</span>
  1241. </aside>
  1242. <p class="phpdocumentor-summary">Creates a new GdImage resource and scales it if necessary</p>
  1243. <code class="phpdocumentor-code phpdocumentor-signature ">
  1244. <span class="phpdocumentor-signature__visibility">protected</span>
  1245. <span class="phpdocumentor-signature__name">createImage</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\GdImage">GdImage</abbr></span></code>
  1246. <div class="phpdocumentor-label-line">
  1247. </div>
  1248. <section class="phpdocumentor-description"><p>we're scaling the image up in order to draw crisp round circles, otherwise they appear square-y on small scales</p>
  1249. </section>
  1250. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1251. Tags
  1252. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_createImage#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1253. </h5>
  1254. <dl class="phpdocumentor-tag-list">
  1255. <dt class="phpdocumentor-tag-list__entry">
  1256. <span class="phpdocumentor-tag__name">see</span>
  1257. </dt>
  1258. <dd class="phpdocumentor-tag-list__definition">
  1259. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/23">https://github.com/chillerlan/php-qrcode/issues/23</a></span>
  1260. </dd>
  1261. </dl>
  1262. <section>
  1263. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1264. <span class="phpdocumentor-signature__response_type"><abbr title="\GdImage">GdImage</abbr></span>
  1265. </section>
  1266. </article>
  1267. <article
  1268. class="phpdocumentor-element
  1269. -method
  1270. -protected
  1271. "
  1272. >
  1273. <h4 class="phpdocumentor-element__name" id="method_drawImage">
  1274. drawImage()
  1275. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_drawImage" class="headerlink"><i class="fas fa-link"></i></a>
  1276. </h4>
  1277. <aside class="phpdocumentor-element-found-in">
  1278. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1279. :
  1280. <span class="phpdocumentor-element-found-in__line">273</span>
  1281. </aside>
  1282. <p class="phpdocumentor-summary">Draws the QR image</p>
  1283. <code class="phpdocumentor-code phpdocumentor-signature ">
  1284. <span class="phpdocumentor-signature__visibility">protected</span>
  1285. <span class="phpdocumentor-signature__name">drawImage</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1286. <div class="phpdocumentor-label-line">
  1287. </div>
  1288. </article>
  1289. <article
  1290. class="phpdocumentor-element
  1291. -method
  1292. -protected
  1293. "
  1294. >
  1295. <h4 class="phpdocumentor-element__name" id="method_dumpImage">
  1296. dumpImage()
  1297. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_dumpImage" class="headerlink"><i class="fas fa-link"></i></a>
  1298. </h4>
  1299. <aside class="phpdocumentor-element-found-in">
  1300. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1301. :
  1302. <span class="phpdocumentor-element-found-in__line">327</span>
  1303. </aside>
  1304. <p class="phpdocumentor-summary">Creates the final image by calling the desired GD output function</p>
  1305. <code class="phpdocumentor-code phpdocumentor-signature ">
  1306. <span class="phpdocumentor-signature__visibility">protected</span>
  1307. <span class="phpdocumentor-signature__name">dumpImage</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1308. <div class="phpdocumentor-label-line">
  1309. </div>
  1310. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1311. Tags
  1312. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_dumpImage#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1313. </h5>
  1314. <dl class="phpdocumentor-tag-list">
  1315. <dt class="phpdocumentor-tag-list__entry">
  1316. <span class="phpdocumentor-tag__name">throws</span>
  1317. </dt>
  1318. <dd class="phpdocumentor-tag-list__definition">
  1319. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1320. </dd>
  1321. </dl>
  1322. <section>
  1323. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1324. <span class="phpdocumentor-signature__response_type">string</span>
  1325. </section>
  1326. </article>
  1327. <article
  1328. class="phpdocumentor-element
  1329. -method
  1330. -protected
  1331. -abstract "
  1332. >
  1333. <h4 class="phpdocumentor-element__name" id="method_getDefaultModuleValue">
  1334. getDefaultModuleValue()
  1335. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1336. </h4>
  1337. <aside class="phpdocumentor-element-found-in">
  1338. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1339. :
  1340. <span class="phpdocumentor-element-found-in__line">157</span>
  1341. </aside>
  1342. <p class="phpdocumentor-summary">Returns a default value for either dark or light modules (return value depends on the output class)</p>
  1343. <code class="phpdocumentor-code phpdocumentor-signature ">
  1344. <span class="phpdocumentor-signature__visibility">protected</span>
  1345. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">getDefaultModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$isDark</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1346. <div class="phpdocumentor-label-line">
  1347. </div>
  1348. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1349. <dl class="phpdocumentor-argument-list">
  1350. <dt class="phpdocumentor-argument-list__entry">
  1351. <span class="phpdocumentor-signature__argument__name">$isDark</span>
  1352. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1353. </dt>
  1354. <dd class="phpdocumentor-argument-list__definition">
  1355. </dd>
  1356. </dl>
  1357. </article>
  1358. <article
  1359. class="phpdocumentor-element
  1360. -method
  1361. -protected
  1362. "
  1363. >
  1364. <h4 class="phpdocumentor-element__name" id="method_getModuleValue">
  1365. getModuleValue()
  1366. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1367. </h4>
  1368. <aside class="phpdocumentor-element-found-in">
  1369. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1370. :
  1371. <span class="phpdocumentor-element-found-in__line">164</span>
  1372. </aside>
  1373. <p class="phpdocumentor-summary">Returns the prepared value for the given $M_TYPE</p>
  1374. <code class="phpdocumentor-code phpdocumentor-signature ">
  1375. <span class="phpdocumentor-signature__visibility">protected</span>
  1376. <span class="phpdocumentor-signature__name">getModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1377. <div class="phpdocumentor-label-line">
  1378. </div>
  1379. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1380. <dl class="phpdocumentor-argument-list">
  1381. <dt class="phpdocumentor-argument-list__entry">
  1382. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1383. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1384. </dt>
  1385. <dd class="phpdocumentor-argument-list__definition">
  1386. </dd>
  1387. </dl>
  1388. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1389. Tags
  1390. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1391. </h5>
  1392. <dl class="phpdocumentor-tag-list">
  1393. <dt class="phpdocumentor-tag-list__entry">
  1394. <span class="phpdocumentor-tag__name">throws</span>
  1395. </dt>
  1396. <dd class="phpdocumentor-tag-list__definition">
  1397. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1398. <section class="phpdocumentor-description"><p>if $moduleValues[$M_TYPE] doesn't exist</p>
  1399. </section>
  1400. </dd>
  1401. </dl>
  1402. </article>
  1403. <article
  1404. class="phpdocumentor-element
  1405. -method
  1406. -protected
  1407. "
  1408. >
  1409. <h4 class="phpdocumentor-element__name" id="method_getModuleValueAt">
  1410. getModuleValueAt()
  1411. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt" class="headerlink"><i class="fas fa-link"></i></a>
  1412. </h4>
  1413. <aside class="phpdocumentor-element-found-in">
  1414. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1415. :
  1416. <span class="phpdocumentor-element-found-in__line">176</span>
  1417. </aside>
  1418. <p class="phpdocumentor-summary">Returns the prepared module value at the given coordinate [$x, $y] (convenience)</p>
  1419. <code class="phpdocumentor-code phpdocumentor-signature ">
  1420. <span class="phpdocumentor-signature__visibility">protected</span>
  1421. <span class="phpdocumentor-signature__name">getModuleValueAt</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1422. <div class="phpdocumentor-label-line">
  1423. </div>
  1424. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1425. <dl class="phpdocumentor-argument-list">
  1426. <dt class="phpdocumentor-argument-list__entry">
  1427. <span class="phpdocumentor-signature__argument__name">$x</span>
  1428. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1429. </dt>
  1430. <dd class="phpdocumentor-argument-list__definition">
  1431. </dd>
  1432. <dt class="phpdocumentor-argument-list__entry">
  1433. <span class="phpdocumentor-signature__argument__name">$y</span>
  1434. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1435. </dt>
  1436. <dd class="phpdocumentor-argument-list__definition">
  1437. </dd>
  1438. </dl>
  1439. </article>
  1440. <article
  1441. class="phpdocumentor-element
  1442. -method
  1443. -protected
  1444. "
  1445. >
  1446. <h4 class="phpdocumentor-element__name" id="method_getOutputDimensions">
  1447. getOutputDimensions()
  1448. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  1449. </h4>
  1450. <aside class="phpdocumentor-element-found-in">
  1451. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1452. :
  1453. <span class="phpdocumentor-element-found-in__line">126</span>
  1454. </aside>
  1455. <p class="phpdocumentor-summary">Returns a 2 element array with the current output width and height</p>
  1456. <code class="phpdocumentor-code phpdocumentor-signature ">
  1457. <span class="phpdocumentor-signature__visibility">protected</span>
  1458. <span class="phpdocumentor-signature__name">getOutputDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  1459. <div class="phpdocumentor-label-line">
  1460. </div>
  1461. <section class="phpdocumentor-description"><p>The type and units of the values depend on the output class. The default value is the current module count * scale.</p>
  1462. </section>
  1463. <section>
  1464. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1465. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1466. </section>
  1467. </article>
  1468. <article
  1469. class="phpdocumentor-element
  1470. -method
  1471. -protected
  1472. "
  1473. >
  1474. <h4 class="phpdocumentor-element__name" id="method_module">
  1475. module()
  1476. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_module" class="headerlink"><i class="fas fa-link"></i></a>
  1477. </h4>
  1478. <aside class="phpdocumentor-element-found-in">
  1479. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1480. :
  1481. <span class="phpdocumentor-element-found-in__line">284</span>
  1482. </aside>
  1483. <p class="phpdocumentor-summary">Creates a single QR pixel with the given settings</p>
  1484. <code class="phpdocumentor-code phpdocumentor-signature ">
  1485. <span class="phpdocumentor-signature__visibility">protected</span>
  1486. <span class="phpdocumentor-signature__name">module</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1487. <div class="phpdocumentor-label-line">
  1488. </div>
  1489. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1490. <dl class="phpdocumentor-argument-list">
  1491. <dt class="phpdocumentor-argument-list__entry">
  1492. <span class="phpdocumentor-signature__argument__name">$x</span>
  1493. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1494. </dt>
  1495. <dd class="phpdocumentor-argument-list__definition">
  1496. </dd>
  1497. <dt class="phpdocumentor-argument-list__entry">
  1498. <span class="phpdocumentor-signature__argument__name">$y</span>
  1499. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1500. </dt>
  1501. <dd class="phpdocumentor-argument-list__definition">
  1502. </dd>
  1503. <dt class="phpdocumentor-argument-list__entry">
  1504. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1505. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1506. </dt>
  1507. <dd class="phpdocumentor-argument-list__definition">
  1508. </dd>
  1509. </dl>
  1510. </article>
  1511. <article
  1512. class="phpdocumentor-element
  1513. -method
  1514. -protected
  1515. -abstract "
  1516. >
  1517. <h4 class="phpdocumentor-element__name" id="method_prepareModuleValue">
  1518. prepareModuleValue()
  1519. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1520. </h4>
  1521. <aside class="phpdocumentor-element-found-in">
  1522. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1523. :
  1524. <span class="phpdocumentor-element-found-in__line">152</span>
  1525. </aside>
  1526. <p class="phpdocumentor-summary">Prepares the value for the given input (return value depends on the output class)</p>
  1527. <code class="phpdocumentor-code phpdocumentor-signature ">
  1528. <span class="phpdocumentor-signature__visibility">protected</span>
  1529. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">prepareModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1530. <div class="phpdocumentor-label-line">
  1531. </div>
  1532. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1533. <dl class="phpdocumentor-argument-list">
  1534. <dt class="phpdocumentor-argument-list__entry">
  1535. <span class="phpdocumentor-signature__argument__name">$value</span>
  1536. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  1537. </dt>
  1538. <dd class="phpdocumentor-argument-list__definition">
  1539. </dd>
  1540. </dl>
  1541. </article>
  1542. <article
  1543. class="phpdocumentor-element
  1544. -method
  1545. -protected
  1546. "
  1547. >
  1548. <h4 class="phpdocumentor-element__name" id="method_renderImage">
  1549. renderImage()
  1550. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#method_renderImage" class="headerlink"><i class="fas fa-link"></i></a>
  1551. </h4>
  1552. <aside class="phpdocumentor-element-found-in">
  1553. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImageGIF.php"><a href="files/src-output-qrgdimagegif.html"><abbr title="src/Output/QRGdImageGIF.php">QRGdImageGIF.php</abbr></a></abbr>
  1554. :
  1555. <span class="phpdocumentor-element-found-in__line">29</span>
  1556. </aside>
  1557. <p class="phpdocumentor-summary">Renders the image with the gdimage function for the desired output</p>
  1558. <code class="phpdocumentor-code phpdocumentor-signature ">
  1559. <span class="phpdocumentor-signature__visibility">protected</span>
  1560. <span class="phpdocumentor-signature__name">renderImage</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1561. <div class="phpdocumentor-label-line">
  1562. </div>
  1563. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1564. Tags
  1565. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#method_renderImage#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1566. </h5>
  1567. <dl class="phpdocumentor-tag-list">
  1568. <dt class="phpdocumentor-tag-list__entry">
  1569. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1570. </dt>
  1571. <dd class="phpdocumentor-tag-list__definition">
  1572. </dd>
  1573. </dl>
  1574. </article>
  1575. <article
  1576. class="phpdocumentor-element
  1577. -method
  1578. -protected
  1579. "
  1580. >
  1581. <h4 class="phpdocumentor-element__name" id="method_saveToFile">
  1582. saveToFile()
  1583. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile" class="headerlink"><i class="fas fa-link"></i></a>
  1584. </h4>
  1585. <aside class="phpdocumentor-element-found-in">
  1586. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1587. :
  1588. <span class="phpdocumentor-element-found-in__line">195</span>
  1589. </aside>
  1590. <p class="phpdocumentor-summary">Saves the qr $data to a $file. If $file is null, nothing happens.</p>
  1591. <code class="phpdocumentor-code phpdocumentor-signature ">
  1592. <span class="phpdocumentor-signature__visibility">protected</span>
  1593. <span class="phpdocumentor-signature__name">saveToFile</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1594. <div class="phpdocumentor-label-line">
  1595. </div>
  1596. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1597. <dl class="phpdocumentor-argument-list">
  1598. <dt class="phpdocumentor-argument-list__entry">
  1599. <span class="phpdocumentor-signature__argument__name">$data</span>
  1600. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1601. </dt>
  1602. <dd class="phpdocumentor-argument-list__definition">
  1603. </dd>
  1604. <dt class="phpdocumentor-argument-list__entry">
  1605. <span class="phpdocumentor-signature__argument__name">$file</span>
  1606. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1607. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1608. <dd class="phpdocumentor-argument-list__definition">
  1609. </dd>
  1610. </dl>
  1611. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1612. Tags
  1613. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1614. </h5>
  1615. <dl class="phpdocumentor-tag-list">
  1616. <dt class="phpdocumentor-tag-list__entry">
  1617. <span class="phpdocumentor-tag__name">see</span>
  1618. </dt>
  1619. <dd class="phpdocumentor-tag-list__definition">
  1620. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Output\file_put_contents()">file_put_contents()</abbr></span>
  1621. </dd>
  1622. <dt class="phpdocumentor-tag-list__entry">
  1623. <span class="phpdocumentor-tag__name">see</span>
  1624. </dt>
  1625. <dd class="phpdocumentor-tag-list__definition">
  1626. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$cachefile">QROptions::$cachefile</abbr></span>
  1627. </dd>
  1628. <dt class="phpdocumentor-tag-list__entry">
  1629. <span class="phpdocumentor-tag__name">throws</span>
  1630. </dt>
  1631. <dd class="phpdocumentor-tag-list__definition">
  1632. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1633. </dd>
  1634. </dl>
  1635. </article>
  1636. <article
  1637. class="phpdocumentor-element
  1638. -method
  1639. -protected
  1640. "
  1641. >
  1642. <h4 class="phpdocumentor-element__name" id="method_setBgColor">
  1643. setBgColor()
  1644. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_setBgColor" class="headerlink"><i class="fas fa-link"></i></a>
  1645. </h4>
  1646. <aside class="phpdocumentor-element-found-in">
  1647. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1648. :
  1649. <span class="phpdocumentor-element-found-in__line">237</span>
  1650. </aside>
  1651. <p class="phpdocumentor-summary">Sets the background color</p>
  1652. <code class="phpdocumentor-code phpdocumentor-signature ">
  1653. <span class="phpdocumentor-signature__visibility">protected</span>
  1654. <span class="phpdocumentor-signature__name">setBgColor</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1655. <div class="phpdocumentor-label-line">
  1656. </div>
  1657. </article>
  1658. <article
  1659. class="phpdocumentor-element
  1660. -method
  1661. -protected
  1662. "
  1663. >
  1664. <h4 class="phpdocumentor-element__name" id="method_setMatrixDimensions">
  1665. setMatrixDimensions()
  1666. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  1667. </h4>
  1668. <aside class="phpdocumentor-element-found-in">
  1669. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1670. :
  1671. <span class="phpdocumentor-element-found-in__line">115</span>
  1672. </aside>
  1673. <p class="phpdocumentor-summary">Sets/updates the matrix dimensions</p>
  1674. <code class="phpdocumentor-code phpdocumentor-signature ">
  1675. <span class="phpdocumentor-signature__visibility">protected</span>
  1676. <span class="phpdocumentor-signature__name">setMatrixDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1677. <div class="phpdocumentor-label-line">
  1678. </div>
  1679. <section class="phpdocumentor-description"><p>Call this method if you modify the matrix from within your custom module in case the dimensions have been changed</p>
  1680. </section>
  1681. </article>
  1682. <article
  1683. class="phpdocumentor-element
  1684. -method
  1685. -protected
  1686. "
  1687. >
  1688. <h4 class="phpdocumentor-element__name" id="method_setModuleValues">
  1689. setModuleValues()
  1690. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  1691. </h4>
  1692. <aside class="phpdocumentor-element-found-in">
  1693. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1694. :
  1695. <span class="phpdocumentor-element-found-in__line">133</span>
  1696. </aside>
  1697. <p class="phpdocumentor-summary">Sets the initial module values</p>
  1698. <code class="phpdocumentor-code phpdocumentor-signature ">
  1699. <span class="phpdocumentor-signature__visibility">protected</span>
  1700. <span class="phpdocumentor-signature__name">setModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1701. <div class="phpdocumentor-label-line">
  1702. </div>
  1703. </article>
  1704. <article
  1705. class="phpdocumentor-element
  1706. -method
  1707. -protected
  1708. "
  1709. >
  1710. <h4 class="phpdocumentor-element__name" id="method_setTransparencyColor">
  1711. setTransparencyColor()
  1712. <a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_setTransparencyColor" class="headerlink"><i class="fas fa-link"></i></a>
  1713. </h4>
  1714. <aside class="phpdocumentor-element-found-in">
  1715. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRGdImage.php"><a href="files/src-output-qrgdimage.html"><abbr title="src/Output/QRGdImage.php">QRGdImage.php</abbr></a></abbr>
  1716. :
  1717. <span class="phpdocumentor-element-found-in__line">255</span>
  1718. </aside>
  1719. <p class="phpdocumentor-summary">Sets the transparency color</p>
  1720. <code class="phpdocumentor-code phpdocumentor-signature ">
  1721. <span class="phpdocumentor-signature__visibility">protected</span>
  1722. <span class="phpdocumentor-signature__name">setTransparencyColor</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1723. <div class="phpdocumentor-label-line">
  1724. </div>
  1725. </article>
  1726. <article
  1727. class="phpdocumentor-element
  1728. -method
  1729. -protected
  1730. "
  1731. >
  1732. <h4 class="phpdocumentor-element__name" id="method_toBase64DataURI">
  1733. toBase64DataURI()
  1734. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI" class="headerlink"><i class="fas fa-link"></i></a>
  1735. </h4>
  1736. <aside class="phpdocumentor-element-found-in">
  1737. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1738. :
  1739. <span class="phpdocumentor-element-found-in__line">183</span>
  1740. </aside>
  1741. <p class="phpdocumentor-summary">Returns a base64 data URI for the given string and mime type</p>
  1742. <code class="phpdocumentor-code phpdocumentor-signature ">
  1743. <span class="phpdocumentor-signature__visibility">protected</span>
  1744. <span class="phpdocumentor-signature__name">toBase64DataURI</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mime</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1745. <div class="phpdocumentor-label-line">
  1746. </div>
  1747. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1748. <dl class="phpdocumentor-argument-list">
  1749. <dt class="phpdocumentor-argument-list__entry">
  1750. <span class="phpdocumentor-signature__argument__name">$data</span>
  1751. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1752. </dt>
  1753. <dd class="phpdocumentor-argument-list__definition">
  1754. </dd>
  1755. <dt class="phpdocumentor-argument-list__entry">
  1756. <span class="phpdocumentor-signature__argument__name">$mime</span>
  1757. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1758. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1759. <dd class="phpdocumentor-argument-list__definition">
  1760. </dd>
  1761. </dl>
  1762. <section>
  1763. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1764. <span class="phpdocumentor-signature__response_type">string</span>
  1765. </section>
  1766. </article>
  1767. </section>
  1768. <div class="phpdocumentor-modal" id="source-view">
  1769. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1770. <div class="phpdocumentor-modal-container">
  1771. <div class="phpdocumentor-modal-content">
  1772. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Output/QRGdImageGIF.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  1773. </div>
  1774. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1775. </div>
  1776. </div>
  1777. <script type="text/javascript">
  1778. (function () {
  1779. function loadExternalCodeSnippet(el, url, line) {
  1780. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1781. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1782. const language = 'php';
  1783. const code = document.createElement('code');
  1784. code.className = 'language-' + language;
  1785. pre.textContent = '';
  1786. pre.setAttribute('data-line', line)
  1787. code.textContent = 'Loading…';
  1788. pre.appendChild(code);
  1789. var xhr = new XMLHttpRequest();
  1790. xhr.open('GET', src, true);
  1791. xhr.onreadystatechange = function () {
  1792. if (xhr.readyState !== 4) {
  1793. return;
  1794. }
  1795. if (xhr.status < 400 && xhr.responseText) {
  1796. code.textContent = xhr.responseText;
  1797. Prism.highlightElement(code);
  1798. return;
  1799. }
  1800. if (xhr.status === 404) {
  1801. code.textContent = '✖ Error: File could not be found';
  1802. return;
  1803. }
  1804. if (xhr.status >= 400) {
  1805. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1806. return;
  1807. }
  1808. code.textContent = '✖ Error: An unknown error occurred';
  1809. };
  1810. xhr.send(null);
  1811. });
  1812. }
  1813. const modalButtons = document.querySelectorAll("[data-modal]");
  1814. const openedAsLocalFile = window.location.protocol === 'file:';
  1815. if (modalButtons.length > 0 && openedAsLocalFile) {
  1816. console.warn(
  1817. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1818. 'browsers block XHR requests when a page is opened this way'
  1819. );
  1820. }
  1821. modalButtons.forEach(function (trigger) {
  1822. if (openedAsLocalFile) {
  1823. trigger.setAttribute("hidden", "hidden");
  1824. }
  1825. trigger.addEventListener("click", function (event) {
  1826. event.preventDefault();
  1827. const modal = document.getElementById(trigger.dataset.modal);
  1828. if (!modal) {
  1829. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1830. return;
  1831. }
  1832. modal.classList.add("phpdocumentor-modal__open");
  1833. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1834. const exits = modal.querySelectorAll("[data-exit-button]");
  1835. exits.forEach(function (exit) {
  1836. exit.addEventListener("click", function (event) {
  1837. event.preventDefault();
  1838. modal.classList.remove("phpdocumentor-modal__open");
  1839. });
  1840. });
  1841. });
  1842. });
  1843. })();
  1844. </script>
  1845. </article>
  1846. </section>
  1847. <section class="phpdocumentor-on-this-page__sidebar">
  1848. <section class="phpdocumentor-on-this-page__content">
  1849. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1850. <ul class="phpdocumentor-list -clean">
  1851. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1852. <li>
  1853. <ul class="phpdocumentor-list -clean">
  1854. <li><a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#toc-constants">Constants</a></li>
  1855. <li><a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#toc-properties">Properties</a></li>
  1856. <li><a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#toc-methods">Methods</a></li>
  1857. </ul>
  1858. </li>
  1859. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1860. <li>
  1861. <ul class="phpdocumentor-list -clean">
  1862. <li><a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#constant_MIME_TYPE">MIME_TYPE</a></li>
  1863. </ul>
  1864. </li>
  1865. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1866. <li>
  1867. <ul class="phpdocumentor-list -clean">
  1868. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_background">$background<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1869. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1870. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1871. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1872. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1873. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1874. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1875. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1876. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_image">$image<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1877. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1878. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1879. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1880. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1881. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1882. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1883. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1884. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#property_upscaled">$upscaled<a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html"></li>
  1885. </ul>
  1886. </li>
  1887. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1888. <li>
  1889. <ul class="phpdocumentor-list -clean">
  1890. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a></li>
  1891. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_dump">dump()</a></li>
  1892. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_moduleValueIsValid">moduleValueIsValid()</a></li>
  1893. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_checkGD">checkGD()</a></li>
  1894. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a></li>
  1895. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a></li>
  1896. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_createImage">createImage()</a></li>
  1897. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_drawImage">drawImage()</a></li>
  1898. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_dumpImage">dumpImage()</a></li>
  1899. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue">getDefaultModuleValue()</a></li>
  1900. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a></li>
  1901. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a></li>
  1902. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions">getOutputDimensions()</a></li>
  1903. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_module">module()</a></li>
  1904. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue">prepareModuleValue()</a></li>
  1905. <li><a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#method_renderImage">renderImage()</a></li>
  1906. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a></li>
  1907. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_setBgColor">setBgColor()</a></li>
  1908. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a></li>
  1909. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a></li>
  1910. <li><a href="classes/chillerlan-QRCode-Output-QRGdImage.html#method_setTransparencyColor">setTransparencyColor()</a></li>
  1911. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a></li>
  1912. </ul>
  1913. </li>
  1914. </ul>
  1915. </section>
  1916. </section>
  1917. </div>
  1918. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1919. <section class="phpdocumentor-search-results__dialog">
  1920. <header class="phpdocumentor-search-results__header">
  1921. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1922. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1923. </header>
  1924. <section class="phpdocumentor-search-results__body">
  1925. <ul class="phpdocumentor-search-results__entries"></ul>
  1926. </section>
  1927. </section>
  1928. </section>
  1929. </div>
  1930. <a href="classes/chillerlan-QRCode-Output-QRGdImageGIF.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1931. </main>
  1932. <script>
  1933. cssVars({});
  1934. </script>
  1935. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1936. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1937. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1938. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1939. </body>
  1940. </html>