GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - astef/PatchPdfText: CLI tool to update text in PDF files

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
PatchPdfText.csproj
PatchPdfText.csproj
 
 
PatchPdfText.sln
PatchPdfText.sln
 
 
Program.cs
Program.cs
 
 
README.md
README.md
 
 

Repository files navigation

PatchPdfText

CLI tool to update text in PDF files

Usage

Optionally remove the old content using https://github.com/astef/SweepPdfArea.

Then you can put a new text label with this tool:

PS> dotnet run -- `
    --input .\input.pdf `
    --output .\output.pdf `
    --text "`ACCEPTED" `
    --font-path $env:LOCALAPPDATA\Microsoft\Windows\Fonts\Roboto-Black.ttf `
    --font-family "Roboto-Black" `
    --font-size 24 `
    --font-color 00FF15 `
    --page 1 `
    --left 249.8 `
    --bottom 349.15 `
    --width 200 `
    --bg-color 33BB55 `
    --bg-opacity 0.6

Development state

This is a not a complete product, but rather a home-made script helper intended for a particular limited case.

If you feel that it can be slightly updated to be helpful in your case as well, then go update it, or submit an issue.

License

This tool is using itext7 under the hood, so check-out their license: https://github.com/itext/itext7-dotnet/blob/develop/LICENSE.md

In short, you can not distribute the program without commercial license, but you can use it and distribute the PDF files.

About

CLI tool to update text in PDF files

Resources

Readme
MIT license
Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.