Skip to content

Commit

Permalink
add logo to pdf command
Browse files Browse the repository at this point in the history
  • Loading branch information
jurczewski committed May 27, 2024
1 parent 60ae3e1 commit e89b29a
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/PrivatePdfConverter/Commands/AddLogoToPdf.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace PrivatePdfConverter.Commands;

public static class AddLogoToPdf
{
public static void Run(string path, string logoPath, string position, string? output)
{

}
}
1 change: 1 addition & 0 deletions src/PrivatePdfConverter/Program.cs
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
app.AddCommand("ext", ListValidExt.ListValidExtensions).WithDescription("List all valid image extensions.");
app.AddCommand("img", ImgToPdf.ConvertImageToOnePdf).WithDescription("Convert single image to single pdf file.");
app.AddCommand("encrypt", EncryptPdf.EncryptPdfWithPassword).WithDescription("Encrypt pdf file with a password.");
app.AddCommand("logo", AddLogoToPdf.Run).WithDescription("Add an image/logo/watermark to a every page of pdf file.");

Logger.Initialize();

0 comments on commit e89b29a

Please sign in to comment.