chillerlan-QRCode-Output-QRGdImageBMP.html 123 KB

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