PSDファイルのレイヤー構造+画像をディレクトリ構造+PNGとしてダンプするスクリプト
Project description
psdlayer2dirpy
- GitHub: https://github.com/aoirint/psdlayer2dirpy
- PyPI: https://pypi.org/project/aoirint-psdlayer2dirpy/
- Docker Hub: https://hub.docker.com/r/aoirint/psdlayer2dirpy
Installation
PyPI
pip3 install aoirint_psdlayer2dirpy
Docker
docker pull aoirint/psdlayer2dirpy:20220819.3
Usage
PyPI
psdlayer2dir file.psd -o output/
Docker
docker run --rm -v "$PWD:/work" aoirint/psdlayer2dirpy:20220819.3 file.psd -o output/
Dependencies
Development
This repository uses Poetry.
pyenv + Poetry
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.11.2
pyenv local 3.11.2
poetry env remove python
poetry env use python
poetry install
Library management
To dump requirements*.txt
,
poetry export --without-hashes -o requirements.txt
poetry export --without-hashes --with dev -o requirements-dev.txt
Docker
docker build -t psdlayer2dirpy .
docker run --rm -v "./work:/work" -w /work psdlayer2dirpy image.psd -o output
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aoirint_psdlayer2dirpy-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9555bc074961e5e08d2bd343077d9421daef88526e57f8395ba685e53ba223d |
|
MD5 | 29f3e71709fbe30c67fd729a47cd752d |
|
BLAKE2b-256 | 16584226abd42325bca6018fa8ad6581cf5abd9a7e21b426dd44c2359b63d97c |
Close
Hashes for aoirint_psdlayer2dirpy-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a98f0303fa5c9f520999ac310df3b5da08bc491ac32859f9aa240ef451ff830 |
|
MD5 | e494d42f05ef173384b63e9f54326de7 |
|
BLAKE2b-256 | 4ae6eac5b4b24da65f84e88bbe1ee9d1126bb4ca1f50dc731d020990e9a55b40 |