Table of Contents

Image Processing

Pillow

refer: http://effbot.org/imagingbook/

Image Module

ImageDraw Module

Psd tools

source: https://github.com/kmike/psd-tools refer API: http://searchcode.babies.vn:8080/source/xref/python2.7/site-packages/psd_tools/user_api/psd_image.py

Install

Using Psd tools

Read psd file and get header, layers(contain layers and groups)

Basic Examples:

working with group(psd_tools.Group)

working with layer(psd_tools.Layer)

export psd file to png

psd.as_PIL() return object PIL.Image.Image