{"id":18279193,"url":"https://github.com/mbeijen/gd-barcode","last_synced_at":"2026-03-11T13:16:40.720Z","repository":{"id":3871740,"uuid":"4957638","full_name":"mbeijen/GD-Barcode","owner":"mbeijen","description":"Perl GD::Barcode module","archived":false,"fork":false,"pushed_at":"2026-02-24T20:57:26.000Z","size":1093,"stargazers_count":3,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-25T00:54:35.340Z","etag":null,"topics":["barcode","gd","perl","qrcode"],"latest_commit_sha":null,"homepage":"https://metacpan.org/pod/GD::Barcode","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbeijen.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-07-09T12:37:06.000Z","updated_at":"2026-02-24T20:57:30.000Z","dependencies_parsed_at":"2025-04-05T04:31:39.372Z","dependency_job_id":"60c96fc9-6b5b-413e-b860-275de1f7f3cc","html_url":"https://github.com/mbeijen/GD-Barcode","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mbeijen/GD-Barcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbeijen%2FGD-Barcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbeijen%2FGD-Barcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbeijen%2FGD-Barcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbeijen%2FGD-Barcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbeijen","download_url":"https://codeload.github.com/mbeijen/GD-Barcode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbeijen%2FGD-Barcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30382658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T12:49:11.341Z","status":"ssl_error","status_checked_at":"2026-03-11T12:46:41.342Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode","gd","perl","qrcode"],"created_at":"2024-11-05T12:27:49.893Z","updated_at":"2026-03-11T13:16:40.715Z","avatar_url":"https://github.com/mbeijen.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GD::Barcode\n\nCreate barcode images with GD\n\n## Synopsis\n\n*Example: CGI*\n\n```perl\nuse GD::Barcode::UPCE;\nbinmode(STDOUT);\nprint \"Content-Type: image/png\\n\\n\";\nprint GD::Barcode-\u003enew('EAN13', '123456789012')-\u003eplot-\u003epng;\n```\n\n*With Error Check*\n\n```perl\nmy $oGdBar = GD::Barcode-\u003enew('EAN13', '12345678901');\ndie $GD::Barcode::errStr unless($oGdBar);     # Invalid Length\n$oGdBar-\u003eplot-\u003epng;\n```\n\n## Description\n\nGD::Barcode is a subclass of GD and allows you to create barcode images with GD.\nThis module is based on \"Generate Barcode Ver 1.02 By Shisei Hanai 97/08/22\".\n\nFrom version 1.14, you can use this module even without GD (except the plot\nmethod).\n\n### new\n\n```perl\n$oGdBar = GD::Barcode-\u003enew($sType, $sTxt);\n```\n\nConstructor. Creates a `GD::Barcode::$sType` object for `$sTxt`.\n\n### plot()\n\n```perl\n$oGd = $oGdBar-\u003eplot(Height =\u003e $iHeight, NoText =\u003e 0 | 1);\n```\n\nCreates a GD object with barcode image for the `$sTxt` specified in the `new`\nmethod. `$iHeight` is the height of the image. If `NoText` is 1, the image has\nno text representation of `$sTxt`.\n\n**Example:**\n\n```perl\nmy $oGdB = GD::Barcode-\u003enew('EAN13', '123456789012');\nmy $oGD = $oGdB-\u003eplot(NoText=\u003e1, Height =\u003e 20);\n# $oGD is a GD image with Height=\u003e20 pixels, with no text.\n```\n\n### barcode()\n\n```perl\n$sPtn = $oGdBar-\u003ebarcode();\n```\n\nReturns a barcode pattern as a string with '1' and '0'. '1' means black, '0'\nmeans white.\n\n**Example:**\n\n```perl\nmy $oGdB = GD::Barcode-\u003enew('UPCE', '123456');\nmy $sPtn = $oGdB-\u003ebarcode();\n```\n\n### $errStr\n\n```perl\n$GD::Barcode::errStr\n```\n\nContains error messages.\n\n### $text\n\n```perl\n$oGdBar-\u003e{text}\n```\n\nContains the barcode text based on `$sTxt` specified in the `new` method.\n\n## Contributing\n\nFor information about code formatting, git hooks, and testing, see\n[DEVELOPING.md](DEVELOPING.md).\n\n## Author\n\nKawai Takanori GCD00051@nifty.ne.jp\n\n## Copyright\n\nThe GD::Barcode module is Copyright (c) 2000 Kawai Takanori. Japan. All rights\nreserved.\n\nYou may distribute under the terms of either the GNU General Public License or\nthe Artistic License, as specified in the Perl README file.\n\n## See Also\n\n- [GD](https://metacpan.org/pod/GD)\n- GD::Barcode subclasses\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbeijen%2Fgd-barcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbeijen%2Fgd-barcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbeijen%2Fgd-barcode/lists"}