Installation
Installation
Aspose.PSD FOSS for Python is a pure Python package with no other third-party dependencies. There is no native extension to compile, so the install completes immediately on any platform your Python interpreter supports.
Prerequisites
| Requirement | Detail |
|---|---|
| Python | A supported CPython interpreter |
| Operating system | Any OS supported by your Python interpreter |
| Dependencies | None — pure Python, no third-party packages |
- Install the package.
git clone https://github.com/aspose-psd-foss/Aspose.PSD-FOSS-for-Python.git
cd Aspose.PSD-FOSS-for-Python
# No packaging manifest is published yet -- run from this folder,
# or add it to PYTHONPATH:
export PYTHONPATH=$PWD:$PYTHONPATH- Verify the install by loading a PSD/PSB file.
from aspose_psd_foss.psdimage import PsdImage
with PsdImage.load("input.psd") as image:
print(f"Width: {image.width}, Height: {image.height}")If the package installed correctly, this prints the document’s dimensions without error. A successful run confirms both that the interpreter can import the package and that the file-loading path works end to end, not just that the install step itself reported success.