Skip to content

signal-slot/qtpsd

Repository files navigation

PSD Parser Module for Qt 6

This module provides functionality for parsing Adobe Photoshop PSD files and generating a tree structure that represents the hierarchical organization of layers.

Features

  • Layer Parsing: Extracts and organizes layers, including text, shapes, and image layers, in a tree structure.
  • Layer Metadata: Access additional layer information, such as blending modes, opacity, and linking relationships.
  • Cross-Platform: Fully compatible with any Qt 6-supported platform.

Requirements

  • Qt 6.8 or later

Installation

Clone the repository:

$ git clone https://github.com/signal-slot/qtpsd.git
$ cd qtpsd

Create a build directory and configure the project:

$ mkdir build && cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/your/qt/project

Build and install the module:

$ cmake --build .
$ cmake --install .

Demo app

enable QT_BUILD_EXAMPLES and build the example.

$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/your/qt/project -DQT_BUILD_EXAMPLES=ON
$ cmake --build .
$ ./examples/psdcore/app/app

Use QtPsd module

Link the module to your Qt project:

find_package(Qt6 COMPONENTS PsdCore PsdGui REQUIRED)
target_link_libraries(your_app PRIVATE Qt::PsdCore Qt::PsdGui)

License

This module is licensed under the LGPLv3, GPLv2 or GPLv3 License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published