From 93810c7022449e6657fd49a363f77bcc1fd6e379 Mon Sep 17 00:00:00 2001 From: wyrde Date: Wed, 5 Apr 2023 14:51:57 -0400 Subject: [PATCH] Update README.md code block --- misc/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/README.md b/misc/README.md index c408060..5ed11bc 100644 --- a/misc/README.md +++ b/misc/README.md @@ -10,7 +10,10 @@ a configuration file that adds some SD-related tags allowing exiftool to edit th ## workping.py A CLI script for adding a workflow to a PNG file. Requres Pillow module (PIL). It updates the image file, make a backup if you want extra safety. +``` python workping.py --image "/path/to/image.png" --workflow "/path/to/workflow.json" +``` + ### related * source: https://colab.research.google.com/drive/1hQMjNUdhMQ3rw1Wcm3_umvmOMeS_K4s8?usp=sharing#scrollTo=llbal5zlANoH * PIL: https://pillow.readthedocs.io/en/stable/installation.html