Python package for working with Adobe Photoshop PSD files
Project description
psd-tools is a Python package for working with Adobe Photoshop PSD files as described in specification.
Features
Supported:
Read and write of the low-level PSD/PSB file structure
Raw layer image export in NumPy and PIL format
Limited support:
Composition of basic pixel-based layers
Composition of fill layer effects
Vector masks
Editing of some layer attributes such as layer name
Basic editing of pixel layers and groups, such as adding or removing a layer
Blending modes except for dissolve
Drawing of bezier curves
Not supported:
Editing of various layers such as type layers, shape layers, smart objects, etc.
Composition of adjustment layers
Composition of many layer effects
Font rendering
Installation
Use pip to install the package:
pip install psd-tools
Getting started
from psd_tools import PSDImage
psd = PSDImage.open('example.psd')
psd.composite().save('example.png')
for layer in psd:
print(layer)
layer_image = layer.composite()
layer_image.save('%s.png' % layer.name)
Check out the documentation for features and details.
Contributing
See contributing page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for psd_tools-1.10.2-cp313-cp313-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b32282a9a218cb3b05d708ce10e4331f0d5f1ca06c11044536f0552222bf53f |
|
MD5 | fcbf677de278f6da87949a65d8a15185 |
|
BLAKE2b-256 | c5a0445bcc7a28aada84962f6753736eabfae249dbd467a48ef392139382ad8e |
Hashes for psd_tools-1.10.2-cp313-cp313-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89129831048e092011c6c3f6046a05fbe066f88f9071827f288f3b6117ac3e13 |
|
MD5 | 7d76befef35af64dd15091f9e9c60057 |
|
BLAKE2b-256 | 5deb3996e04c787224e09bd20c4627461cd8b1b45774ee61fe48cee491e4a522 |
Hashes for psd_tools-1.10.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dafd296cf295160ba45f0320af5cc5b90d6f4fec374fe071c819cd80dd7bbc3 |
|
MD5 | 5569e5d2d70d243e722108af05539bc5 |
|
BLAKE2b-256 | aca9f9117a9250639dc37334b8f8e551d4ccba2ada5d6da87007eef177500e23 |
Hashes for psd_tools-1.10.2-cp313-cp313-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 872f29979220268091b3e6a68bdda1228daf15d6ae9ca703c2c0a87b2eedb703 |
|
MD5 | d7ccc5a3b6829b86ac57cfb2eaa0db86 |
|
BLAKE2b-256 | f5247ca761517ddf24b3221445d83436b91753f787b8463c29643fb98c32e1d9 |
Hashes for psd_tools-1.10.2-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f7831b32674e22f7784624d93ecb319b50542c9ccb3f977c855928b2a7d8e53 |
|
MD5 | 37c4680534c4a3aeb624352f7366e0f9 |
|
BLAKE2b-256 | f1fd3af691f85b6f8bdab979284582a9852f80835cfbfb845d0bb141ccb82fcb |
Hashes for psd_tools-1.10.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2535871f25e8d59157f4d851d49b020e172ada7cd89350f67e943f645926b1e |
|
MD5 | a5741e6e101c28961f4779daaf0c74bc |
|
BLAKE2b-256 | c3682d1f426e26f804f78f2f64df4060f4bf354fc48e95c57bd4c2f2120a7884 |
Hashes for psd_tools-1.10.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a21c0f767a4557428516e7336ba460fe865e1e1d44bb7a3e2b0ea110786dda8 |
|
MD5 | 8c74faec04d8ebd96912c4660dc88107 |
|
BLAKE2b-256 | 19c8d0748078358930b032ae839a5141d74fe5d670d10353c8cfdce383d01948 |
Hashes for psd_tools-1.10.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5ed40f2447caa51dba48b4d9319860bcf21178dbcf1216833aa6ad9b30072e8 |
|
MD5 | b371b05fb1023ea3f56657abfaf5b085 |
|
BLAKE2b-256 | 30f9cb2917e0279bb05792722c3594f5ac1bf02803cb02e6c733a41c3c238a04 |
Hashes for psd_tools-1.10.2-cp313-cp313-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55227eee2789c013ac3b9dd15077010365851f4c441d1cdd58489dfdb6440913 |
|
MD5 | 4ad3cac226f61d2299842af2eacc30a1 |
|
BLAKE2b-256 | 3c1da0de0cb7e70664db0fff55661352e3f6fd42bae91e75a0628534082f5d6f |
Hashes for psd_tools-1.10.2-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8590940a655ec34821a02684f1f90c0aa27b677e5404a29b744f46ed7cb168ed |
|
MD5 | e519f744dc030f643ef90ca4312f3f6b |
|
BLAKE2b-256 | c6627ec9017c28bdf6e3b740c1212671c99b4af95e464acfc2e963b26de39f99 |
Hashes for psd_tools-1.10.2-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d57f1544eb97d97fff6f1d720417ac65c2005f5eceed9139be787b7c90921df |
|
MD5 | 4e806fd4966d7fde8d6af908c3cd4945 |
|
BLAKE2b-256 | 4426fdc676b3fb9411ddcc42f36f60b4787475cc46f91084878de7eb1421f5bd |
Hashes for psd_tools-1.10.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7934c4c76d44e0ec2331cf3ef9605d6058f33cdd243ebee0ee4708c8113a833a |
|
MD5 | 75ef580eace837db299d6e5ceefeb9d6 |
|
BLAKE2b-256 | 5df2d8e4b6624c8a555b9d31fa14f101a365a85420d940905140702b0b0ee761 |
Hashes for psd_tools-1.10.2-cp312-cp312-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a2b8ffd4e72dd71f1e7f56c017c082b9f5bd6b400638c98cc9cb353bac48a3 |
|
MD5 | e702479ba466de632274ffd843722ae0 |
|
BLAKE2b-256 | e6cdf4f472958c9c8ec991db661c3f6b7a06807e416469140dba39be8b8a5700 |
Hashes for psd_tools-1.10.2-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7611b5854f2b3de1feb926fc4a1a7760c5de081037642bccff55ce323d56dcf9 |
|
MD5 | 303f27b073d83a75f3bdce366d40750a |
|
BLAKE2b-256 | 44ea466068e1dd7b902ce6217dad36baf3caa5788e3474a70837f4d18b0fad4f |
Hashes for psd_tools-1.10.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c50c142372bb8ec3053aebdf0f28ec2426b7bfd459ce525612e5bd6e20cca41e |
|
MD5 | bb0f9ed70208f37a372e53857e66ee91 |
|
BLAKE2b-256 | d118e3260efb291a149f3e830d6434f1891e563b9be9e412634bc10ac552c90d |
Hashes for psd_tools-1.10.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e00b70418da991b457fa1e177832bc59674bd66e281ddd1acad21daf485d38 |
|
MD5 | 5d422a657818f534608f268a6458d404 |
|
BLAKE2b-256 | 82653454fe6bdee2f0d03a3e82b9380b9399e6c7f9949d2ba3662c6831579ad4 |
Hashes for psd_tools-1.10.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca7f92026c0bcb4e076be77d2bfd6e1f9585129c4399a03ac565f8c02c929c6 |
|
MD5 | e0c8455d6650623b7baabbd71a8729ef |
|
BLAKE2b-256 | e5a05d94a410d2b0503999307c22417ea8d6985bf562ed91865c9f2b0a8cdb61 |
Hashes for psd_tools-1.10.2-cp312-cp312-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f65fe1eead47a5fae7014381a30c0f72fbb98425165f4e6b9971756a0e9c27e |
|
MD5 | fee2157cd895a4b0b4ed7383be4507c2 |
|
BLAKE2b-256 | af02eac867531b9bfac2d1e81d584ff70ef191fc393faa707a5bf5d0d64b1453 |
Hashes for psd_tools-1.10.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c649cc5234f12aa423bb8a7e3f637f8789e212557be2859c581743a17ba1804 |
|
MD5 | dfd4e1206852ae43797a710ecf045d7e |
|
BLAKE2b-256 | 07df016d6bdc63b8251837a237f2642fc2ee2265ce46152c512d76cb1daa9ba8 |
Hashes for psd_tools-1.10.2-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 378071e6c11ffdb1f715439a41134bf3c0400518e2ee203d92ca91cebf3d5ce0 |
|
MD5 | 8ab39822c1900e7cd2e80af717536b7d |
|
BLAKE2b-256 | d8eb346e4af2a408bb10883b0187a780b8df7646182a6e47428d8e47e623b920 |
Hashes for psd_tools-1.10.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3aa5e74b4ffd2036b53110a1709284c5649a775e04ecd4d000e9ae956ce634 |
|
MD5 | d867888b1001210043d8f84bbc3469cc |
|
BLAKE2b-256 | b59a6457ab8330e9d78c6eba69bed67909941b1b5df5af3cbb98639b39488099 |
Hashes for psd_tools-1.10.2-cp311-cp311-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 477cb09d6c35798177bc7456b0c30fac2d99bf5f78d34592dc331986f8a6a080 |
|
MD5 | 801de3c19f10256848379b0667dfa388 |
|
BLAKE2b-256 | a9ae606c39f4f2f7a30f83a3edaf5c84124a6e4e3b550c6f8b26be9cfe21e41a |
Hashes for psd_tools-1.10.2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b2707edaac31c8f0dd30aa7dd4f1befd23f4f5f23bec63209ced023cb715f21 |
|
MD5 | eafd7674d3ccd3281692b09d9004f435 |
|
BLAKE2b-256 | 6806672c0210f0428ee5cb2d57efb767a38c5dab7953052a9ea1a290a56fa0c0 |
Hashes for psd_tools-1.10.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a18cd870320f88bf521dcb59be73aed5ecaaf2f51e00f2e5a8de2e2d64e43928 |
|
MD5 | 4e99f6990fbaaecd0a7df92339abdf17 |
|
BLAKE2b-256 | 2410b6c1739b9b0f800ea2e1b1b68b48f76cf969d30da1a8d306db5b12c9ce2e |
Hashes for psd_tools-1.10.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045ef92857d50591b49b788b2f9541db4ffd256056751bebb41e0887d629cf77 |
|
MD5 | 1130e3a4d5dadaadaec7416a66ea165b |
|
BLAKE2b-256 | 316bd3fd0db70fc469f19d6a74d312df134e03673114d07784781dff2b5af542 |
Hashes for psd_tools-1.10.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93d634cda00d0e6338da86fb967d8c449b13641061d7043cbb6ec019c93c04bc |
|
MD5 | 7528546fdb4eea9409cb6d463bf4e838 |
|
BLAKE2b-256 | e3e9d00aab01549a9ef1f33eb79d0f3e8e230bbfbfc792a26f92c7d316c5cc27 |
Hashes for psd_tools-1.10.2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7287bbaeb94d6a660bdeeaa1802224a142923ec088e3d120fc356a4b76c7db2a |
|
MD5 | a001e375df625b79a456dbc6f8755e99 |
|
BLAKE2b-256 | b1001ede2530531b6af9dea8fc9d03e01862bdea94a72be7b12a196203a89e4a |
Hashes for psd_tools-1.10.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cbc043609cdbf31c8c5d69d5e74b9d647cb29bc6bc6e4006330d061ac7d5907 |
|
MD5 | 92eba24b7d8d15b773b1e8447461a48b |
|
BLAKE2b-256 | 02ac9ff3c1780358d853401ed598714c1c1dc6a0fbf428dab4f2cf1d47bc586d |
Hashes for psd_tools-1.10.2-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bd2ba02a1ee57cd152ae7184eafb432fb96d4fd3cc2e1911aaebf1a78516fe5 |
|
MD5 | 2191ccac25f3a2867929f160b24c41ca |
|
BLAKE2b-256 | 48e145eb5f478255fc4906b61d517e845d479084de80bf39a8c1339197d05479 |
Hashes for psd_tools-1.10.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1391b8749ad439ebfd331fdb02ac50ef59b7a8a9c28c75b63a217dbc18abf61a |
|
MD5 | 5e65773a2fb46f39aefb31f1426a2f74 |
|
BLAKE2b-256 | 001ad7594492ab9069dbfd04fde44881dd9e3a4ce7e96f9e766a93f420cbd71b |
Hashes for psd_tools-1.10.2-cp310-cp310-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d77c11f3f1382f618580adfefd5f39f6a1a90f652f410279461f9f1e76e86534 |
|
MD5 | 09b9d1ec1684732ab265fcd42c7a7df9 |
|
BLAKE2b-256 | 15714d8814d90c6a9815a2910bb44d1317eb1628cd4591a8f72d96469976adac |
Hashes for psd_tools-1.10.2-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999823284f585fbeb9b415dc4a66d9321a34b49fd20aec1874515d156462f775 |
|
MD5 | 0ad7368d1514c3fef0e84e2a36bc7f55 |
|
BLAKE2b-256 | 7efddef534b8de53fc01db3379069df329ae84a40788188f3d51cd07351409b0 |
Hashes for psd_tools-1.10.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a68f208b5e9c744c7ec3b7ce843698ee1db71cd15695699d83ed88b0aa6c112e |
|
MD5 | 02de334d084a55c7fb43063d7dfc6942 |
|
BLAKE2b-256 | ef234b4952ad18b427e9dd594cad63f6cc58bab2e47c80522f71c6b9f6cf73d3 |
Hashes for psd_tools-1.10.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d0f6c7ffa7685d174232aefbb39448b0b6aaeba9e85b28e0b1c16f0bc92890c |
|
MD5 | b3654c8c570703975d8d797d9b3e3bba |
|
BLAKE2b-256 | aa424cc10a23ba980807c827583cb51b7c8c479451ffbf4a11854edd846e324d |
Hashes for psd_tools-1.10.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88eda1b4dea2dd3c1e4f3fce1b2b305aa39979a4ec3258ab22a32768a145ab26 |
|
MD5 | e61ac60468e5c55895626e6bd3298ecd |
|
BLAKE2b-256 | 653b78963704e8f76e5d5562af8aecd68dd6334ab7c83e959165eef2d2c53ff1 |
Hashes for psd_tools-1.10.2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d905987d593b0a15647235418cf993ab1d228b7705fe2ebf3b9362af96b51e |
|
MD5 | 975c4bc8d041791b225baa7bf4df6b75 |
|
BLAKE2b-256 | e66d7053017fc9d32f01e1778b4263abdc4beee5b4534942793cfac275a0ed1c |
Hashes for psd_tools-1.10.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4f6a75aa55f07d20aa4af292084f00861fc0a1f88790cddd9c97df841846e14 |
|
MD5 | bf150a4716561368bf255122f53df239 |
|
BLAKE2b-256 | a6649dd02e7436a8cb567e128445ae812b90b6c3be87e6b0e0ed3b90faa1baf9 |
Hashes for psd_tools-1.10.2-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61e8c7f7d03036a0cac096be9993a180c00639fbd9a188d23793553e75535ea7 |
|
MD5 | c69aadafc3bd0886d16f8c4558d411e4 |
|
BLAKE2b-256 | 24156ab61ab3ece6d518fa7499731dbc575b8a253dcb0362c83de2c75eca9996 |
Hashes for psd_tools-1.10.2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1474712cf226e6d2a911b2d9a9431b1cdcdf1861497573bff1f60d7fe014906 |
|
MD5 | 70bc706b508b567a2b8ad120a6fa1085 |
|
BLAKE2b-256 | 4489a45d9e79d5f57bf48e43f18ecc51ac4be0b5377534c66433588f39b144bf |
Hashes for psd_tools-1.10.2-cp39-cp39-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0faf7771b6c9d181a70f04aa8e79fad9d0a447b7afcb6bbab295b701152ee01 |
|
MD5 | f84d7704f6045bfe4d690cfc4a46f5a3 |
|
BLAKE2b-256 | 922ed58366f7bd6d6f3a4a193f161cc52f32d47a27f949a5b8fd40a34d5fb6b6 |
Hashes for psd_tools-1.10.2-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee58b0242f0ded58a05d638112b8fc75c0d0f97b49caaac6f830d5b6764557e7 |
|
MD5 | 80077f51f6943a6badbecfcbc6158268 |
|
BLAKE2b-256 | 1a6f0aa3aa9805ebfa85bfeebbe00a3f0553c150fb65a1c4e3028c03274e2c87 |
Hashes for psd_tools-1.10.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 135221df2705f6e1d5e3d6458e5524f4582bc190499735087aafa07a083103f0 |
|
MD5 | d89fcee28da34d23d4f81b35b93acbdc |
|
BLAKE2b-256 | 4ed8b2a262c94ca612777b2352cd645b3cca3489a8378cc8b58113b7337cb5b5 |
Hashes for psd_tools-1.10.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb3ee2f95adaff7414409ea210e19ccc9a8c6bf2b711916e3a53959b8054c13a |
|
MD5 | 6ce494b3f4bdd4469f1a82e1dc2a65e5 |
|
BLAKE2b-256 | 64c8411d14050e53b83bcea54294a8fcf0c803fe466fbdea04769572fb59e51f |
Hashes for psd_tools-1.10.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f4f8c700825fc637b6d4d37420c83efe1fa487eb6a29703e7d629ae216843f |
|
MD5 | a5370d813f1561b42d69dab228a9f3de |
|
BLAKE2b-256 | 7d345ffb1562d36d0a1a64f71e6308ee91ff180e8424e0f0df09df6edcd8e691 |
Hashes for psd_tools-1.10.2-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc5b317b6fabf954a1d3c1feb04c8f51625182375c65fb0467e6ef9ecb73795d |
|
MD5 | d3f8fec6af992a534f1ce0d51e28c0c6 |
|
BLAKE2b-256 | bc89ec24b09df2731040c4787ffe22b52638b1bc913b027caa1d16bbf643681b |