chillerlan-QRCode-Output-QRGdImageJPEG.html 123 KB

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