How denzelvw-xyz/business-card-maker works
Business Card Maker is a small interactive Python application: the user supplies QR data, a title, a logo path, and up to four key=value details; the program generates a QR image, composes the card, and saves Result.png. Its principal stages are input and detail parsing, QR generation, visual composition (including logo handling and text rendering), and file output. Background removal is an optional rembg integration. The graph reflects the single inspected implementation file; no separate storage or service layer is present.
Main entry points: main.py Card composition · fonts Bundled font
Components 14
User Input
- Interactive prompts
main.py - Detail parsing
main.py
Card Creation
- QR generation
main.py - qrcode library
- Card composition
main.py - Text rendering
main.py - Bundled font
fonts - Logo loading
main.py - Pillow library
- Background removal
main.py - rembg library
Output
- Save card image
main.py - Result.png
main.py
Other components
- User
Connections 18
- User → Interactive prompts: provides inputs
main.py - Interactive prompts → Detail parsing: parses details
main.py - Interactive prompts → QR generation: passes QR data
main.py - QR generation → qrcode library: generates QR
main.py - Interactive prompts → Logo loading: provides logo path
main.py - Interactive prompts → Card composition: provides title
main.py - Detail parsing → Card composition: provides details
main.py - QR generation → Card composition: pastes QR image
main.py - Card composition → Pillow library: creates and edits image
main.py - Text rendering → Pillow library: draws text
main.py - Card composition → Text rendering: renders title and details
main.py - Text rendering → Bundled font: loads font
main.py - Logo loading → Pillow library: opens and resizes
main.py - Logo loading → Background removal: optionally removes background
main.py - Background removal → rembg library: removes background
main.py - Logo loading → Card composition: pastes logo
main.py - Card composition → Save card image: saves composed image
main.py - Save card image → Result.png: writes PNG
main.py