Update crop_card.py
This commit is contained in:
parent
52e0c8b6a4
commit
e615ff0093
1 changed files with 0 additions and 11 deletions
11
crop_card.py
11
crop_card.py
|
|
@ -208,17 +208,6 @@ def main():
|
||||||
sheets_dir = BASE_DIR / 'sheets'
|
sheets_dir = BASE_DIR / 'sheets'
|
||||||
sheets_dir.mkdir(parents=True, exist_ok=True)
|
sheets_dir.mkdir(parents=True, exist_ok=True)
|
||||||
for i, cards_in_sheet in enumerate(util.batched(all_cropped_cards, sheet_layout.cards_per_sheet), 1):
|
for i, cards_in_sheet in enumerate(util.batched(all_cropped_cards, sheet_layout.cards_per_sheet), 1):
|
||||||
# cards_in_sheet = [
|
|
||||||
# 'Svella, Ice Shaper (Extended Andrew Mar).crop.jpg',
|
|
||||||
# 'Icon of Ancestry.crop.png',
|
|
||||||
# 'Condescend.crop.png',
|
|
||||||
# 'Sulfur Falls (Cliff Childs).crop.png',
|
|
||||||
# 'Giant Killer.crop.png',
|
|
||||||
# 'Magda, Brazen Outlaw.crop.png',
|
|
||||||
# 'Rhox.crop.png',
|
|
||||||
# 'Visionary Augmenter.crop.png',
|
|
||||||
# ]
|
|
||||||
|
|
||||||
sheet_filepath = sheets_dir / f'sheet{i:03d}.jpg'
|
sheet_filepath = sheets_dir / f'sheet{i:03d}.jpg'
|
||||||
create_sheet(cards_in_sheet, sheet_filepath, sheet_layout)
|
create_sheet(cards_in_sheet, sheet_filepath, sheet_layout)
|
||||||
print(f'Output {sheet_filepath}')
|
print(f'Output {sheet_filepath}')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue