chillerlan-QRCode-Output-QRGdImageJPEG.html 124 KB

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