Adding images and first draft

This commit is contained in:
Steve Dogiakos 2020-05-27 22:06:13 -06:00
parent c18075fbf5
commit ec00d8c188
12 changed files with 19 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# Scout Unit Numeral Generator
A tool for creating images of Troop, Pack, Crew Numerals
This tool that creates "unit numerals" for Scout Troops.
The flow is the user inputs their unit number, (228 or 51) and the tool will put the associated images (five.png, and one.png) for each numeral next to each other and output a file (five_one.png).

BIN
eight.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
five.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
four.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
nine.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

15
numeral-generator.py Normal file
View File

@ -0,0 +1,15 @@
from PIL import Image
# get the numeral images - add pack numeals later
one = Image.open("one.jpg")
two = Image.open("two.jpg")
three = Image.open("three.jpg")
four = Image.open("four.jpg")
five = Image.open("five.jpg")
six = Image.open("six.jpg")
seven = Image.open("seven.jpg")
eight = Image.open("eight.jpg")
nine = Image.open("nine.jpg")
zero = Image.open("zero.jpg")
# get the unit number - add pack as an option later
unitno = input("What is your Troop number?")
# parse the troop number

BIN
one.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
seven.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
six.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
three.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
two.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
zero.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB