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
Usage
PyPI
pip3 install aoirint_psdlayer2dirpy
psdlayer2dir image.psd -o output/
Docker
docker pull aoirint/psdlayer2dirpy
docker run --rm -v "$PWD:/work" -w /work aoirint/psdlayer2dirpy image.psd -o output/
Development
This repository uses Poetry.
pyenv + Poetry
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.10.10
pyenv local 3.10.10
poetry env remove python
poetry env use python
poetry install
Format codes
poetry run pysen run lint format
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/
Dependencies
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270963ec009f7478b545c43458a3e98bbd639edacd044ce7cb6fa265cf23773f |
|
MD5 | b255a31acaada49c356db150404fe701 |
|
BLAKE2b-256 | 0ddbec08b34a4352f12e75c7abc69d8a67729d1cbdc507546e99e82996f93e9e |
Close
Hashes for aoirint_psdlayer2dirpy-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdfa948823e3d66846943a6f58cd1cd7d74b80e33dcf1347f1b8b59eb928d5fe |
|
MD5 | d06e51ee8e9d9c255edddf29c6a8da3a |
|
BLAKE2b-256 | 7397a4b42fadffa2ad8bc7a286c0e7d43efa5a9e6352a38b34077a4867d68e69 |