python:imagesprocess
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python:imagesprocess [2014/08/15 08:00] – [Read header and layers(contain layers and groups)] admin | python:imagesprocess [2022/10/29 16:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Image Processing ====== | ====== Image Processing ====== | ||
+ | ===== Pillow ===== | ||
+ | refer: http:// | ||
+ | ==== Image Module ==== | ||
+ | ==== ImageDraw Module ==== | ||
===== Psd tools ===== | ===== Psd tools ===== | ||
source: https:// | source: https:// | ||
+ | refer API: http:// | ||
==== Install ==== | ==== Install ==== | ||
* windows:< | * windows:< | ||
SET VS90COMNTOOLS=%VS100COMNTOOLS% | SET VS90COMNTOOLS=%VS100COMNTOOLS% | ||
- | easy_install.ext psd-tools | + | easy_install.exe psd-tools |
easy_install.exe packbits | easy_install.exe packbits | ||
</ | </ | ||
Line 13: | Line 18: | ||
</ | </ | ||
==== Using Psd tools ==== | ==== Using Psd tools ==== | ||
- | === Read header | + | === Read psd file and get header, |
* PSDImage.load return **psd_tools.user_api.psd_image.PSDImage** object | * PSDImage.load return **psd_tools.user_api.psd_image.PSDImage** object | ||
* **psd_tools.user_api.psd_image.PSDImage** contain list of objects **psd_tools.Group** and **psd_tools.Layer** | * **psd_tools.user_api.psd_image.PSDImage** contain list of objects **psd_tools.Group** and **psd_tools.Layer** |
python/imagesprocess.1408089619.txt.gz · Last modified: 2022/10/29 16:15 (external edit)