https://github.com/bigbuildbench/jbaarssen_pdflibcore

https://github.com/bigbuildbench/jbaarssen_pdflibcore

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: BigBuildBench
  • License: mit
  • Language: C#
  • Default Branch: master
  • Size: 41.8 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

build Release Package Version

PdfLibCore

PdfLib CORE is a fast PDF editing and reading library for modern .NET Core applications.

Example: Creating images from all pages in a PDF

Opening a PDF file can be done either through providing a filepath, a stream or a byte array..

```c# var dpiX, dpiY = 300D; var i = 0;

using var pdfDocument = new PdfDocument(File.Open(<>, FileMode.Open)); foreach (var page in pdfDocument.Pages) { using var pdfPage = page; var pageWidth = (int) (dpiX * pdfPage.Size.Width / 72); var pageHeight = (int) (dpiY * pdfPage.Size.Height / 72);

using var bitmap = new PdfiumBitmap(pageWidth, pageHeight, true);
pdfPage.Render(bitmap, PageOrientations.Normal, RenderingFlags.LcdText);
using var stream = bitmap.AsBmpStream(dpiX, dpiY);

// <<< do something with your stream...>>> 

} ```

Notes

If you encounter errors in T4 generation on Windows VS, convert the line endings to CRLF and it will work.

Owner

  • Name: BigBuildBench
  • Login: BigBuildBench
  • Kind: organization

abbr. B3, benchmarking the repo-level understanding capability of your LLMs by reconstructing project build-file.

GitHub Events

Total
  • Create event: 4
Last Year
  • Create event: 4

Dependencies

.github/workflows/build-validation.yml actions
  • actions/checkout v2 composite
  • actions/setup-dotnet v1 composite
.github/workflows/nuget-publish.yml actions
  • actions-ecosystem/action-regex-match v2 composite
  • actions/checkout v2 composite
  • actions/setup-dotnet v1 composite
  • drusellers/publish-nuget master composite
.github/workflows/pre-release.yml actions
  • actions-ecosystem/action-regex-match v2 composite
  • actions/checkout v2 composite
  • actions/setup-dotnet v1 composite
  • drusellers/publish-nuget master composite
.github/workflows/pullrequest-pr.yml actions
  • actions/checkout v2 composite
  • actions/setup-dotnet v1 composite
src/ExampleApp/Dockerfile docker
  • mcr.microsoft.com/dotnet/core/sdk 3.1 build
src/ExampleApp/ExampleApp.csproj nuget
src/PdfLibCore/PdfLibCore.csproj nuget
src/PdfLibCore.FreeImage/PdfLibCore.FreeImage.csproj nuget
src/PdfLibCore.ImageSharp/PdfLibCore.ImageSharp.csproj nuget
src/PdfLibCore.MagickNet/PdfLibCore.MagickNet.csproj nuget
src/PdfLibCore.SkiaSharp/PdfLibCore.SkiaSharp.csproj nuget
src/UnitTests/PdfLibCore.UnitTests/PdfLibCore.UnitTests.csproj nuget