{
    "content": [
        {
            "type": "text",
            "text": "# GD::Barcode::QRcode (perldoc)\n\n## NAME\n\nGD::Barcode::QRcode - Create QRcode barcode image with GD\n\n## SYNOPSIS\n\n*ex. CGI*\nuse GD::Barcode::QRcode;\nbinmode(STDOUT);\nprint \"Content-Type: image/png\\n\\n\";\nprint GD::Barcode::QRcode->new('1234567')->plot->png;\n*with UnitSize, ECC settings*\nmy $oGdBar = GD::Barcode::QRcode->new('123456789',\n{ Ecc => 'L', Version=>2, ModuleSize => 2}\n);\n\n## DESCRIPTION\n\nGD::Barcode::QRcode is a subclass of GD::Barcode and allows you to create QRcode barcode image\nwith GD. This module based on \"QRcode image CGI version 0.50 (C)2000-2002,Y.Swetake\".\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHOR**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "GD::Barcode::QRcode",
        "section": "",
        "mode": "perldoc",
        "summary": "GD::Barcode::QRcode - Create QRcode barcode image with GD",
        "synopsis": "*ex. CGI*\nuse GD::Barcode::QRcode;\nbinmode(STDOUT);\nprint \"Content-Type: image/png\\n\\n\";\nprint GD::Barcode::QRcode->new('1234567')->plot->png;\n*with UnitSize, ECC settings*\nmy $oGdBar = GD::Barcode::QRcode->new('123456789',\n{ Ecc => 'L', Version=>2, ModuleSize => 2}\n);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 49,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "GD::Barcode::QRcode - Create QRcode barcode image with GD\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "*ex. CGI*\n\nuse GD::Barcode::QRcode;\nbinmode(STDOUT);\nprint \"Content-Type: image/png\\n\\n\";\nprint GD::Barcode::QRcode->new('1234567')->plot->png;\n\n*with UnitSize, ECC settings*\n\nmy $oGdBar = GD::Barcode::QRcode->new('123456789',\n{ Ecc => 'L', Version=>2, ModuleSize => 2}\n);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "GD::Barcode::QRcode is a subclass of GD::Barcode and allows you to create QRcode barcode image\nwith GD. This module based on \"QRcode image CGI version 0.50 (C)2000-2002,Y.Swetake\".\n\nnew\n*$oGdBar* = GD::Barcode::QRcode->new(*$sTxt*, { Ecc => *Ecc Mode*, Version => *Version*,\nModuleSize => *Size of 1 modlue*, });\n\nConstructor. Creates a GD::Barcode::QRcode object for *$sTxt*.\n\nParameters:\n\nEcc Ecc mode. Select 'M', 'L', 'H' or 'Q' (Default = 'M').\n\nVersion\nVersion ie. size of barcode image (Default = auto select).\n\nModuleSize\nSize of modules(barcode unit) (Default = 1).\n\nplot()\n*$oGd* = $oGdBar->plot([Height => *$iHeight*, NoText => *0 | 1*]);\n\ncreates GD object with barcode image for the *$sTxt* specified at new method. *$iHeight* is\nheight of the image. If *NoText* is 1, the image has no text image of *$sTxt*.\n\nex.\nmy $oGdB = GD::Barcode::QRcode->new('1234567');\nmy $oGD = $oGdB->plot();\n# $sGD is a GD image with Height=>20 pixels, with no text.\n\nbarcode()\n*$sPtn* = $oGdBar->barcode();\n\nreturns a barcode pattern in string with '1' and '0'. '1' means black, '0' means white.\n\nex.\nmy $oGdB = GD::Barcode::QRcode->new('1234567');\nmy $sPtn = $oGdB->barcode();\n\n$errStr\n$GD::Barcode::QRcode::errStr\n\nhas error message.\n\n$text\n$oGdBar->{$text}\n\nhas barcode text based on *$sTxt* specified in new method.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Kawai Takanori GCD00051@nifty.ne.jp\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "The GD::Barocde::QRcode module is Copyright (c) 2003 Kawai Takanori. Japan. All rights reserved.\n\nYou may distribute under the terms of either the GNU General Public License or the Artistic\nLicense, as specified in the Perl README file.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "GD::Barcode\n",
                "subsections": []
            }
        }
    }
}