Tool cli for generate a merge of images, the first one is the base, the second one will be insert inside the first, adjust to 80% to space. You can specify a csv file with this information, see example.
Examples to use:
generate_infog base_template.png code_file.py
generate_infog base_template.png imagen.png
generate_infog base_template.png dir_with_files
generate_infog list_to_create.csv
Example csv file:
|path imagen base | path text file code or imagen|
|-----------------|------------------------------|
|base_sqrt.png |package.json |
|base_rect.png |code.png |
|base.png |__main__.py |
More information:
https://github.com/jalmx/generate_infog_code
By Xizuth
2023
python src/__main__.py base_image.png code.py
- Step 1. Add absolute path from
carbon-now-clito fileconfig_start.py, and other data - Step 2. Install all dependencies
generate_infog base_template.png code_file.py
generate_infog base_template.png imagen.png
generate_infog base_template.png dir_with_files
generate_infog list_to_create.csv
Example for the format to csv file
| path imagen base | path text file code or imagen |
|---|---|
| base_sqrt.png | package.json |
| base_rect.png | main.js |
| base.png | _main_.py |
| base.png | image.png |
| base_sqrt.png | image.jpeg |
| base2.png | image.jpg |
Note: Yet implementation the second param for image, just the code file 🤕
npx playwright install # if fail, can try `npm install -g playwright`
npm i -g carbon-now-cli --force --ignore-scripts # adds this flags in case failed
python -m venv .venv
source bin/activate
pip install -r requirements.txtrecommendation, use nvm for manage dependencies from node
To install, if you in mac or linux, use sudo or if you use nvm is not necessary permission
npm install -g carbon-now-cli
Then, need to config
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow
sudo chmod +x build.sh
./build.shShow you how to created release
# download bin
wget https://raw.githubusercontent.com/jalmx/generate_infog_code/master/release/generate_info_lasted -c -x -O $HOME/.local/bin/generate_info
# Make executable
sudo chmod +x $HOME/.local/bin/generate_info👤 Xizuth
- Website: https://www.alejandro-leyva.com
- Twitter: @xizuth
- Github: @jalmx
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator

