{"id":15039528,"url":"https://github.com/tagliatti/netbarcode","last_synced_at":"2025-05-14T12:07:47.581Z","repository":{"id":37821863,"uuid":"114487496","full_name":"Tagliatti/NetBarcode","owner":"Tagliatti","description":"Barcode generation library written in C# and .NET Standard 2","archived":false,"fork":false,"pushed_at":"2025-03-06T23:30:24.000Z","size":104,"stargazers_count":358,"open_issues_count":11,"forks_count":66,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-13T20:18:06.383Z","etag":null,"topics":["barcode","c-sharp","codigo-de-barras","dot-net","dotnet","dotnet-core","dotnet5","dotnetcore"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tagliatti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"tagliatti"}},"created_at":"2017-12-16T20:11:21.000Z","updated_at":"2025-04-08T14:18:39.000Z","dependencies_parsed_at":"2024-12-14T22:00:33.659Z","dependency_job_id":"7e8868e6-d1b4-4580-a713-d17bfe23867d","html_url":"https://github.com/Tagliatti/NetBarcode","commit_stats":{"total_commits":49,"total_committers":12,"mean_commits":4.083333333333333,"dds":"0.30612244897959184","last_synced_commit":"e9b6bed4346366376ec21eecad48c96a2e2287f8"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tagliatti%2FNetBarcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tagliatti%2FNetBarcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tagliatti%2FNetBarcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tagliatti%2FNetBarcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tagliatti","download_url":"https://codeload.github.com/Tagliatti/NetBarcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248774961,"owners_count":21159534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","c-sharp","codigo-de-barras","dot-net","dotnet","dotnet-core","dotnet5","dotnetcore"],"created_at":"2024-09-24T20:43:10.327Z","updated_at":"2025-04-13T20:18:13.016Z","avatar_url":"https://github.com/Tagliatti.png","language":"C#","funding_links":["https://github.com/sponsors/tagliatti","https://www.paypal.com/donate?hosted_button_id=D42N6KUH47YHW"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://i.imgur.com/C8cdJ7x.png\" alt=\"NetBarcode\"\u003e\n\u003c/p\u003e\n\n# NetBarcode ![nuget](https://img.shields.io/nuget/v/NetBarcode) ![Donwloads](https://img.shields.io/nuget/dt/NetBarcode)\n\nBarcode generation library written in .NET Core compatible with .NET Standard 2.\n\n## Supported barcodes:\n\n* CODE128\n  * CODE128 (automatic mode switching)\n  * CODE128 A/B/C\n* EAN\n  * EAN-13\n  * EAN-8\n* CODE11\n* CODE39\n* CODE39E\n* CODE93\n* Codabar\n\n## Install\n\nOn Nuget:\n```\nPM\u003e Install-Package NetBarcode\n```\n\n.NET CLI\n```\n\u003e dotnet add package NetBarcode\n```\n\n## NuGet\nhttps://www.nuget.org/packages/NetBarcode\n\n## Requirements\nThis library uses `System.Drawing.Common` which requires the following installed packages:\n```\nsudo apt install libc6-dev \nsudo apt install libgdiplus\n```\nMac\n```\nbrew update\nbrew install mono-libgdiplus\n```\n\n## Using\n\n``` c#\nvar barcode = new Barcode(\"543534\"); // default: Code128\n```\nChange barcode type\n``` c#\nvar barcode = new Barcode(\"543534\", Type.Code93);\n```\nShow label\n``` c#\nvar barcode = new Barcode(\"543534\", Type.Code128, true);\n```\nSaving in a image file\n``` c#\nvar value = barcode.SaveImageFile(\"./path\"); // default: ImageFormat.Jpeg\n```\nChange image format\n``` c#\nvar value = barcode.SaveImageFile(\"./path\", ImageFormat.Png); // formats: Bmp, Gif, Jpeg, Png...\n```\nGet string with base64 image to use in HTML\n``` c#\nvar value = barcode.GetBase64Image();\n```\nTo manipulate the image\n``` c#\nvar image = barcode.GetImage();\n```\n\n## Version 1.5\nImageSharp was added in place of System.Drawing due to break of support from .NET 6, more information [click here](https://docs.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only).\nThere is a small compatibility break only if you are manipulating the image with the GetImage method or customizing font and color. In these cases the namespaces have changed to `SixLabors.ImageSharp`.\n\n## License\n\nNetBarcode is shared under the MIT license. This means you can modify and use it however you want, even for comercial use. But please give this repository a ⭐️.\n\n## Donate\nIf you found it useful, please consider paying me a coffee.\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate?hosted_button_id=D42N6KUH47YHW)\n\n![paypal](donate.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftagliatti%2Fnetbarcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftagliatti%2Fnetbarcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftagliatti%2Fnetbarcode/lists"}