GitRead 中文社区
首页趋势排行榜原创文章严选周刊
更多资源
新手训练营
精选专题热门话题GitHub 文档资源精选实战指南

PDFiumCore

.NET Standard P/Invoke bindings for PDFium

  • 语言C#
  • 默认分支master
  • 大小578 KB
  • 更新8 小时前
  • Issues11
在 GitHub 打开
avatarDtronix

项目介绍

Dtronix/PDFiumCore 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 Apache License 2.0 许可证,目前获得 197 个 Star、26 次 Fork。

仓库全名
Dtronix/PDFiumCore

README 摘要

PDFiumCore is a .NET Standard 2.1 wrapper for the PDFium library which includes the binaries and header pinvoke bindings. Supports Linux-x64, OSX-x64, Win-x64, Win-x86. Bindings are generated from the binaries and header files created at pdfium-binaries repository. Usage The preferred way to use this project is to use the Nuget Package. This will ensure all the proper bindings in the .deps.json are generated and…

完整内容见 GitHub 原始 README 或本页 。

常见问题

PDFiumCore 用什么语言开发?

主要使用 C# 编写,采用 Apache License 2.0 许可证,目前有 197 个 Star。

PDFiumCore 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 PDFiumCore 的源码?

可以直接克隆仓库:git clone https://github.com/Dtronix/PDFiumCore.git,默认分支为 master;安装与运行步骤见仓库 README。

PDFiumCore 最近还在维护吗?

仓库最近一次更新为 8 小时前,当前有 11 个未关闭 Issue;Star 数为 197,可作为社区活跃度的参考。

本页面展示项目元数据与原始 README,GitRead 中文社区 编辑团队负责选题收录。

相关仓库

2dust/v2rayN avatar
v2rayN2dust
1 小时前
120.4k
16.1k
11

一个适用于 Windows、Linux 和 macOS 的 GUI 客户端,支持 Xray、sing-box 等

proxyshadowsockssocks5+8
C#
50.0 MB
0
详情
shadowsocks/shadowsocks-windows avatar
shadowsocks-windowsshadowsocks
2025年1月1日
59.5k
15.7k
187

shadowsocks 的 C# 移植版

c-sharpproxyshadowsocks
C#
13.2 MB
0
详情
jellyfin/jellyfin avatar
jellyfinjellyfin
6 小时前
59.2k
5.7k
503

自由软件媒体系统 - 服务器后端与 API

csharpdotnethacktoberfest+1
C#
77.3 MB
0
详情
PowerShell/PowerShell avatar
PowerShellPowerShell
3 小时前
56.1k
8.3k
1.3k

适用于所有系统的 PowerShell!

command-linehacktoberfestlinux+5
C#
109.8 MB
0
详情
files-community/Files avatar
Filesfiles-community
1 天前
46.6k
3.0k
454

一款现代文件管理器,帮助用户整理文件和文件夹。

alternativescsharpcustomization+17
C#
283.0 MB
0
详情
ShareX/ShareX avatar
ShareXShareX
11 小时前
40.9k
4.0k
618

ShareX 是一款免费开源应用,用户只需按一次键即可捕获或录制屏幕任意区域。它还支持将图像、文本及多种文件类型上传至多种目标位置。

avaloniacapturecolor-picker+17
C#
157.0 MB
0
详情
huiyadanli/RevokeMsgPatcher avatar
RevokeMsgPatcherhuiyadanli
2 天前
39.2k
4.1k
56

用于微信/QQ/TIM 的十六进制编辑器 - PC版微信/QQ/TIM防撤回补丁(我已经看到了,撤回也没用了)

patchpcwindows+7
C#
3.6 MB
0
详情
dotnet/aspnetcore avatar
aspnetcoredotnet
15 小时前
38.5k
11.4k
3.9k

ASP.NET Core 是一个跨平台 .NET 框架,用于在 Windows、Mac 或 Linux 上构建现代基于云的 Web 应用程序。

dotnetaspnetcorehacktoberfest+1
C#
404.3 MB
0
详情

关于

csharpdotnetpdfpdf-documentpdf-document-processorpdf-generationpdfiumpinvoke-wrapper
  • Apache License 2.0
  • 197 Stars
  • 26 Forks
  • 4 Watching

简要分析

热度分
253
价值分
125
活跃状态
活跃
GitHub

语言占比

Batchfile
C#
PowerShell
Shell

Release

  • PDFiumCore v158.0.8125.0 Released1 周前
  • PDFiumCore v157.0.8100.0 Released3 周前
  • PDFiumCore v156.0.8076.0 Released10月1日
  • PDFiumCore v155.0.8057.0 Released9月15日
  • PDFiumCore v155.0.8044.0 Released9月12日

贡献者

DJGosnellDJGosnellgithub-actions[bot]github-actions[bot]sungailasungailaErikMcClureErikMcClure

PDFiumCore NuGet Action Workflow

PDFiumCore is a .NET Standard 2.1 wrapper for the PDFium library which includes the binaries and header pinvoke bindings. Supports Linux-x64, OSX-x64, Win-x64, Win-x86.

Bindings are generated from the binaries and header files created at pdfium-binaries repository.

Usage

The preferred way to use this project is to use the Nuget Package. This will ensure all the proper bindings in the *.deps.json are generated and included for the targeted environments.

Build Requirements

  • .NET 6.0

Manual Building

Execute the CreateBindingsPackage.bat

This will do the following:

  • Download the specified files at the passed pdfium-binaries API url.
  • Extracts the zip & tgz files into the asset/librariesdirectory.
  • Opens the pdfium-windows-x64 directory and parses the header files via CppSharp and generates PDFiumCore.cs in the current directory.
  • Copies the libraries and licenses into their respective src/PDFiumCore/runtimes directories.
  • Copies/Overrides src/PDFiumCore/PDFiumCore.cs with the newly generated PDFiumCore.cs.
PDFiumCoreBindingsGenerator Parameters

PDFiumCoreBindingsGenerator.exe requires the following parameters:

  • [0] Set to either a specific Github API release ID for the bblanchon/pdfium-binaries project or latest. This is to determine the release version and binary assets to download.
  • [1] Set to true to download the libraries and generate the bindings. Set to false to only download the libraries.
  • [2] Version to set the Version.Revision property to. This is used for building patches. Usually set to “0”

ToDo

  • Create an actual parser for the comments and generate functional C# method documentation.
  • Include documentation for more than just the public methods.
  • Investigate ARM builds for inclusion.

Resources

https://pdfium.googlesource.com/pdfium/

https://github.com/bblanchon/pdfium-binaries

https://github.com/mono/CppSharp

License

Matching the PDFium project, this project is released under Apache-2.0 License.

评论

登录 后发表评论
暂无评论
GitRead 中文社区
深度解读 · 趋势洞察 · 价值精选

关于

关于我们联系我们编辑准则收录标准赞赏人员

发现

技术趋势新手训练营资源精选实战指南精选专题热门话题GitHub 文档

条款

隐私政策服务条款网站地图
26.9万收录项目
6万中文话题
155精选专题
发现技术价值,连接开源智慧
© 2026 GitRead · GitHub 中文社区 本站与 GitHub, Inc. 无隶属关系;GitHub 是 GitHub, Inc. 的商标。