{"id":20696379,"url":"https://github.com/pascalvault/lazarus_pdfium","last_synced_at":"2026-02-10T05:31:54.520Z","repository":{"id":178581661,"uuid":"662082463","full_name":"PascalVault/Lazarus_Pdfium","owner":"PascalVault","description":"Pdfium for Lazarus","archived":false,"fork":false,"pushed_at":"2023-07-04T10:19:43.000Z","size":511,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T18:24:55.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PascalVault.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":"2023-07-04T10:11:16.000Z","updated_at":"2024-04-06T15:56:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"58c05ec5-d27e-49be-97e0-4814d80bdfa2","html_url":"https://github.com/PascalVault/Lazarus_Pdfium","commit_stats":null,"previous_names":["pascalvault/lazarus_pdfium"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PascalVault%2FLazarus_Pdfium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PascalVault%2FLazarus_Pdfium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PascalVault%2FLazarus_Pdfium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PascalVault%2FLazarus_Pdfium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PascalVault","download_url":"https://codeload.github.com/PascalVault/Lazarus_Pdfium/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242961754,"owners_count":20213315,"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":[],"created_at":"2024-11-17T00:13:47.308Z","updated_at":"2026-02-10T05:31:54.225Z","avatar_url":"https://github.com/PascalVault.png","language":"Pascal","readme":"# PdfiumLib (freepascal port)\nExample of a PDF VCL Control using PDFium\n\n## Requirements\npdfium.dll (x86/x64) from the [pdfium-binaries](https://github.com/bblanchon/pdfium-binaries)\nBinary release: [chromium/5868](https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium%2F5868)\n\n## Features\nThis is a FreePascal port for PdfiumLib (Updated to chromium/5052) from                                https://github.com/ahausladen/PdfiumLib\nWorks with Lazarus(ver2.2.2)/Freepascal(version 3.2.2) both 32 ad 64 bit.\n\nThe library/components works on some of my personal project (mainly to render pdf file).\n\nAll the amendments/changes for the freepascal port are kept within {$ifdef FPC} ...{$endif} block. \nAnother directive {$ifndef FPC} ...{$endif} is used to exclude parts of orignal codes that are not applicable for free pascal. This way the original source shall be intact if the we comment out the line containing {$DEFINE FPC}.\n\nA new method PgToPNG(idx: integer; png: TPortableNetworkGraphic) has been added. the purpose of this method is to convert a specific page of the pdf to an image.\n\nPlease ensure that Printer4Lazarus package is added to you project as it is REQUIRED for the components. Alternatively, you may uncomment the lines {$DEFINE VIEW_ONLY} if you are sure that your do not need the TVCLPrinter componet and thus do not require Printer4Lazarus. \n\nNote the component will not work with pdfium.dll dated on or before 2/3/2017 due to changes in the names of certain export functions. \n\nA pdflib.dpk file (and also Tpdfcontrol.lrs) is also included for those who wish to place the TPdfControl to the component palette in Lazarus. Before installing the dpk, please remember to uncomment the line containing {$DEFINE VCL_PALETTE} in pdfiumctrl.pas. You may also need to delete the files in project\\lib\\ folder to ensure a clean start.\n\nThe Example1 (PdfiumLibExample) is also originated from Andreas Hausladen's site, with some minor modification for Lazarus.\n\n\n\nAll the codes are distributed/released under MPL-2.0 license.\t\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalvault%2Flazarus_pdfium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascalvault%2Flazarus_pdfium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalvault%2Flazarus_pdfium/lists"}