Skip to content

Add custom image to the pdf#5

Open
ndkshr wants to merge 1 commit intogloriousalbus:mainfrom
ndkshr:patch-2
Open

Add custom image to the pdf#5
ndkshr wants to merge 1 commit intogloriousalbus:mainfrom
ndkshr:patch-2

Conversation

@ndkshr
Copy link

@ndkshr ndkshr commented Jun 29, 2021

Why this PR?

  • Adding a default flag is not very liberating.

What it does?

  • Adds sys arg functionality for accepting a runtime path for the custom image
  • Changes the variable name for flag -> custom_image

Example

  • python pdfedit.py custom_image.jpg

Note: Maybe a larger image might cause some issues, have to test that case too!

### Why this PR?
- Adding a default flag is not very liberating.

### What it does?
- Adds sys arg functionality for accepting a runtime path for the custom image
- Changes the variable name for `flag` -> `custom_image`

### Example
- `python pdfedit.py custom_image.jpg`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant