psd2pngs
Introduction
psd2pngs converts a psd file to png files while maintaining the layer hierarchy and performing the appropriate renaming, using multiprocessing.
You do not have to read this long docs, just download and open a psd file with it!
Example
Note that this GIF is in fast forward.
Usage
Using as an app
- Just open
.psdfile with this app. (Executable version only.) - Alternatively, this app can also be used with command prompt.
> psd2pngs -h
Usage: psd2pngs [OPTIONS] PSD_PATH
Options:
-v, --version Show the version and exit.
-o, --out PATH Output directory path. If not specified, output
to the same directory as the PSD file.
-s, --single-process Force not to use multiprocessing.
-t, --tasks-count INTEGER Number of tasks. Recommended to be less than or
equal to the number of CPUs (32) because the
process maximizes the use of CPUs.
-j, --json Output JSON file containing layer information in
snake case.
-jc, --json-camel-case Output JSON file containing layer information in
camel case.
-h, -?, --help Show this message and exit.
The type of content of Output JSON file (snake_case) is the following.
class LayerInfo(NamedTuple):
local_path: str
name: str
safe_name: str
is_visible: bool
is_group: bool
children: "Iterable[LayerInfo]"
The type of content of Output JSON file (camelCase) is the following.
class LayerInfo(NamedTuple):
localPath: str
name: str
safeName: str
isVisible: bool
isGroup: bool
children: "Iterable[LayerInfo]"
Using as a module
See the documentation (readthedocs.io).
Installation
Option 1. Executable version
Download the latest release from Releases.
Option 2. Python version using pip install
py -m venv venv
"./venv/Scripts/Activate.bat"
pip install psd2pngs
psd2pngs from.psd
Option 3. Python version using git clone
git clone https://github.com/34j/psd2pngs.git
cd ./psd2pngs
py -m venv venv
"./venv/Scripts/Activate.bat"
pip install -r requirements.txt
python -m psd2pngs from.psd
Option 4. Executable version - Compiling yourself using pip
py -m venv venv
"./venv/Scripts/Activate.bat"
pip install psd2pngs
pip install pyinstaller
pyinstaller venv/Lib/site-packages/psd2pngs/__main__.py --onefile -n psd2pngs
move "./dist/psd2pngs.exe" "./"
./psd2pngs from.psd
Option 5. Executable version - Compiling yourself using git
git clone https://github.com/34j/psd2pngs.git
cd ./psd2pngs
py -m venv venv
"./venv/Scripts/Activate.bat"
pip install -r requirements.txt
pip install pyinstaller
pyinstaller psd2pngs/__main__.py --onefile -n psd2pngs
move "./dist/psd2pngs.exe" "./"
./psd2pngs from.psd
日本語の説明
psd2pngsは、psdファイルをレイヤーの階層構造を維持したままpngファイルに変換し、適切なリネームを行うアプリケーションです。
1ファイルにまとまったWindows用実行ファイルpsd2pngs.exeも配布しています。
インストール方法
- Releasesから最新のリリースをダウンロードします。
使い方
- psdファイルを右クリックし、
プログラムから開くを使ってこのアプリで開きます。
Metadata
Release files for psd2pngs 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psd2pngs-1.2.4.tar.gz | 11.1 kB | Details |
Release files / psd2pngs-1.2.4.tar.gz
| Download URL | psd2pngs-1.2.4.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a3fe3aa9d29aafa63cca6c48951c718af921b78cadd57a9575ba1a07ba1267c
|
|
BLAKE2b-256 checksum How to use checksums |
52f6ef7fb4d7f5caf2eb85ee1397a0a6acf70794c3878d244a36ac275968caac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|