Skip to content

A script to scale and layout card proxies on a PDF for easy printing

Notifications You must be signed in to change notification settings

jakusotsu/ProxyCardGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Proxy Card Grid PDF Generator

This script generates a PDF containing resized images arranged in a grid format. It uses the Waifu2x image upscaling tool to resize images and the ReportLab library to create the PDF.

Requirements

Before running the script, ensure you have the following dependencies installed:

  • Python 3.x
  • Pillow
  • ReportLab
  • waifu2x-ncnn-py

You can install the necessary Python packages using pip:

pip install Pillow reportlab waifu2x-ncnn-py

Usage

Place Images:

Place the images you want to resize and include in the PDF in the same directory as the script. Supported formats are .png, .jpg, and .jpeg.

The images will be arranged in a grid format, with each image displayed three times.

Prepend a '_' to the image filename (_image.jpg) if you only want 1 copy of that image.

Run the Script:

Execute the script from your terminal or command prompt:

python CardGrid.py

Output PDF:

Upon successful execution, a PDF named output.pdf will be generated in the same directory.

About

A script to scale and layout card proxies on a PDF for easy printing

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages