From ddecc976506ab6a38a605b8d6f556059efa0acdc Mon Sep 17 00:00:00 2001 From: OrzMiku Date: Wed, 22 Apr 2026 15:49:31 +0800 Subject: [PATCH] update README.md --- README.md | 14 +++++++------- README_CN.md | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index e4853d8..c2a00cd 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ A command-line tool for converting alpha channels to normal maps. ## Usage ```bash -python Paramal.py [options] +Paramal [options] ``` ### Options @@ -31,19 +31,19 @@ python Paramal.py [options] ```bash # Basic conversion -python Paramal.py input.png output.png +Paramal input.png output.png # Custom strength with DirectX mode -python Paramal.py input.png output.png -s 3.0 -m dx +Paramal input.png output.png -s 3.0 -m dx # Use the original 4-neighbor sampling method -python Paramal.py input.png output.png -o simple +Paramal input.png output.png -o simple # Use the Scharr operator -python Paramal.py input.png output.png -o scharr +Paramal input.png output.png -o scharr # Mix with original image and scale up -python Paramal.py input.png output.png --mix --scale 4 +Paramal input.png output.png --mix --scale 4 ``` ## Dependencies @@ -56,5 +56,5 @@ pip install Pillow numpy ```bash pip install Pillow numpy PyInstaller -python -m PyInstaller --onefile --name Paramal --icon logo.ico Paramal.py +python -m PyInstaller --onefile --name Paramal --icon logo.ico Paramal.py README.md README_CN.md ``` diff --git a/README_CN.md b/README_CN.md index 24e79ae..b9e52cd 100644 --- a/README_CN.md +++ b/README_CN.md @@ -16,7 +16,7 @@ ## 使用方法 ```bash -python Paramal.py <输入路径> <输出路径> [选项] +Paramal <输入路径> <输出路径> [选项] ``` ### 选项 @@ -31,19 +31,19 @@ python Paramal.py <输入路径> <输出路径> [选项] ```bash # 基础转换 -python Paramal.py input.png output.png +Paramal input.png output.png # 自定义强度并使用 DirectX 模式 -python Paramal.py input.png output.png -s 3.0 -m dx +Paramal input.png output.png -s 3.0 -m dx # 使用最原始的上下左右采样方式 -python Paramal.py input.png output.png -o simple +Paramal input.png output.png -o simple # 使用 Scharr 算子 -python Paramal.py input.png output.png -o scharr +Paramal input.png output.png -o scharr # 与原图混合并放大 -python Paramal.py input.png output.png --mix --scale 4 +Paramal input.png output.png --mix --scale 4 ``` ## 依赖 @@ -56,5 +56,5 @@ pip install Pillow numpy ```bash pip install Pillow numpy PyInstaller -python -m PyInstaller --onefile --name Paramal --icon logo.ico Paramal.py +python -m PyInstaller --onefile --name Paramal --icon logo.ico Paramal.py README.md README_CN.md ```