{"id":19680849,"url":"https://github.com/sungaila/pdftozpl","last_synced_at":"2025-04-13T06:37:04.355Z","repository":{"id":37086098,"uuid":"238758109","full_name":"sungaila/PDFtoZPL","owner":"sungaila","description":"A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language code.","archived":false,"fork":false,"pushed_at":"2024-03-14T18:01:25.000Z","size":42842,"stargazers_count":54,"open_issues_count":1,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-03-15T16:59:31.409Z","etag":null,"topics":["bitmap","bitmap-images","csharp","dotnet","dotnet-core","dotnetframework","dotnetstandard","pdf","pdfium","zebra-programming-language","zpl"],"latest_commit_sha":null,"homepage":"https://www.sungaila.de/PDFtoZPL/","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/sungaila.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-02-06T18:38:36.000Z","updated_at":"2024-05-14T22:03:43.150Z","dependencies_parsed_at":"2023-02-17T23:31:44.585Z","dependency_job_id":"c71d4e18-8d66-4a90-8532-e0510e6679bb","html_url":"https://github.com/sungaila/PDFtoZPL","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungaila%2FPDFtoZPL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungaila%2FPDFtoZPL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungaila%2FPDFtoZPL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungaila%2FPDFtoZPL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sungaila","download_url":"https://codeload.github.com/sungaila/PDFtoZPL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675334,"owners_count":21143763,"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":["bitmap","bitmap-images","csharp","dotnet","dotnet-core","dotnetframework","dotnetstandard","pdf","pdfium","zebra-programming-language","zpl"],"created_at":"2024-11-11T18:06:16.756Z","updated_at":"2025-04-13T06:37:04.330Z","avatar_url":"https://github.com/sungaila.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![PDFtoZPL Logo](https://raw.githubusercontent.com/sungaila/PDFtoZPL/master/Icon_64.png) PDFtoZPL\n\n[![GitHub Workflow Build Status](https://img.shields.io/github/actions/workflow/status/sungaila/PDFtoZPL/dotnet.yml?event=push\u0026style=flat-square\u0026logo=github\u0026logoColor=white)](https://github.com/sungaila/PDFtoZPL/actions/workflows/dotnet.yml)\n[![GitHub Workflow Test Runs Succeeded](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsungaila%2F47230c16cb63a1be5b5604830579714d%2Fraw\u0026query=%24.stats.runs_succ\u0026suffix=%20passed\u0026style=flat-square\u0026logo=github\u0026logoColor=white\u0026label=tests\u0026color=45cc11)](https://github.com/sungaila/PDFtoZPL/actions/workflows/dotnet.yml)\n[![SonarCloud Quality Gate](https://img.shields.io/sonar/quality_gate/sungaila_PDFtoZPL?server=https%3A%2F%2Fsonarcloud.io\u0026style=flat-square\u0026logo=sonarcloud\u0026logoColor=white)](https://sonarcloud.io/project/overview?id=sungaila_PDFtoZPL)\n[![NuGet version](https://img.shields.io/nuget/v/PDFtoZPL.svg?style=flat-square\u0026logo=nuget\u0026logoColor=white)](https://www.nuget.org/packages/PDFtoZPL/)\n[![NuGet downloads](https://img.shields.io/nuget/dt/PDFtoZPL.svg?style=flat-square\u0026logo=nuget\u0026logoColor=white)](https://www.nuget.org/packages/PDFtoZPL/)\n[![Website](https://img.shields.io/website?up_message=online\u0026down_message=offline\u0026url=https%3A%2F%2Fwww.sungaila.de%2FPDFtoZPL%2F\u0026style=flat-square\u0026label=website)](https://www.sungaila.de/PDFtoZPL/)\n[![GitHub license](https://img.shields.io/github/license/sungaila/PDFtoZPL?style=flat-square)](https://github.com/sungaila/PDFtoZPL/blob/master/LICENSE)\n\nA .NET library to convert [PDF files](https://en.wikipedia.org/wiki/PDF) (and bitmaps) into [Zebra Programming Language commands](https://en.wikipedia.org/wiki/Zebra_(programming_language)).\n\nThis .NET library is built on top of\n* [PDFium](https://pdfium.googlesource.com/pdfium/) (native PDF renderer)\n* [SkiaSharp](https://github.com/mono/SkiaSharp) (cross-platform 2D graphics API)\n\n## Getting started\nJust call one of the following static methods:\n* `PDFtoZPL.Conversion.ConvertPdfPage()`\n* `PDFtoZPL.Conversion.ConvertPdf()`\n* `PDFtoZPL.Conversion.ConvertPdfAsync()`\n* `PDFtoZPL.Conversion.ConvertBitmap()`\n\n### How does it work?\n0. Use PDFium to render a bitmap (for PDF files)\n1. Make the bitmap monochrome\n2. Convert the bitmap into a ^GF (Graphic Field) command\n3. Compress the command hexdecimal data to shrink the ZPL code in size\n4. Return the generated ZPL code","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsungaila%2Fpdftozpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsungaila%2Fpdftozpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsungaila%2Fpdftozpl/lists"}