it is possible you have to run the next command just immedietly after downloading the binary
chmod +x pnp_card_macos-latest
xattr -d com.apple.quarantine ./pnp_card_macos-latest
To run the program, you need to provide two arguments:
- Path to the image directory: The directory where the card images are stored.
- Output PDF name: The name of the generated PDF file.
./pnp_card /path/to/directory cards.pdf/path/to/directory/
├── 1_front.png
├── 1_back.jpg
├── 2_front.jpeg
├── global_back.png
- If 1_front.png exists but 1_back.jpg is missing, the program will use global_back.png as the back image for that card.
- If a back image (name_back) exists without a corresponding front image (name_front), the program will throw an error indicating the issue.