GithubHelp home page GithubHelp logo

crazyrex / psd-tools2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from psd-tools/psd-tools

0.0 2.0 0.0 6.49 MB

Python package for reading Adobe Photoshop PSD files

Home Page: https://psd-tools2.readthedocs.io/

License: MIT License

Makefile 0.07% Python 99.93%

psd-tools2's Introduction

psd-tools2

psd-tools2 is a Python package for working with Adobe Photoshop PSD files as described in specification. psd-tools2 is a fork of psd-tools that implements various functionalities.

PyPI Version Build Status Document Status

Installation

Use pip to install the package:

pip install psd-tools2

Note

In order to extract images from 32bit PSD files PIL/Pillow must be built with LITTLECMS or LITTLECMS2 support.

For complete layer image composition functionality, also install NumPy/SciPy. This will be only necessary when the PSD files are saved without maximized compatibility and the image contains gradient fill:

pip install numpy scipy

Getting started

from psd_tools2 import PSDImage

psd = PSDImage.open('example.psd')
psd.compose().save('example.png')

for layer in psd:
    print(layer)

Check out the documentation_ for details.

Features

Supported:

  • Read and write of the low-level PSD/PSB file structure;
  • Raw layer image export;
  • ICC profile handling for sRGB images.

Limited support:

  • Composition of basic pixel-based layers by normal blending;
  • Editing of some layer attributes such as layer name.

Not supported:

  • Editing of layer structure, such as adding or removing a layer.
  • Blending modes other than normal;
  • Composition of layer effects;
  • Drawing of bezier curves;
  • Font rendering.

Contributing

See development <https://github.com/kyamagu/psd-tools2/blob/master/docs/contributing.rst> page.

psd-tools2's People

Contributors

kyamagu avatar kmike avatar evgenko423 avatar vbraun avatar michaelmwu avatar oliverzheng avatar vovkasm avatar lpetre avatar valleyman86 avatar joshdrake avatar nkato avatar pzinovkin avatar ichiro-arai avatar obiwanus avatar

Watchers

James Cloos avatar Radoaslav Nedyalkov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.