Add build, deploy and test sources

This commit is contained in:
Paravis committed 2026-11-13 07:52:37 +03:00
1 parent b962581812
commit 3d1a08f230
259 files changed
+15273

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env python3
from psd_tools import PSDImage
import sys
for p in sys.argv[1:]:
print('=' * 20, p.split('/')[-1])
psd = PSDImage.open(p)
for layer in psd:
print(' group %-30s vis=%s bbox=%s' % ((layer.name or '')[:30], layer.visible, layer.bbox))
for ch in layer:
if ch.kind == 'type':
print(' type %-32s vis=%s bbox=%s' % ((ch.name or '')[:32], ch.visible, ch.bbox))
elif ch.kind == 'pixel':
print(' pixel %-32s vis=%s bbox=%s' % ((ch.name or '')[:32], ch.visible, ch.bbox))
else:
print(' %-6s %-32s vis=%s' % (ch.kind, (ch.name or '')[:32], ch.visible))