Skip to content

Commit 69c9eae

Browse files
committed
2023
1 parent 1a315aa commit 69c9eae

30 files changed

+34
-55
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All major and minor version changes will be documented in this file. Details of
44
patch-level version changes can be found in [commit messages](../../commits/master).
55

6+
## 2023 - 2023/08/31
7+
8+
- Update deps
9+
610
## 2022.0.1 2022/04/06
711

812
- Remove metprint

documentation/reference/layeredimage/blend.md

-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
Blend
66

77
> Auto-generated documentation for [layeredimage.blend](../../../layeredimage/blend.py) module.
8-
98
- [Blend](#blend)

documentation/reference/layeredimage/io/common.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,4 @@ Return layers and throw a warning if the image has groups.
3939
```python
4040
def expandLayersToCanvas(layeredImage: LayeredImage, imageFormat: str) -> list[Image]:
4141
...
42-
```
43-
44-
42+
```

documentation/reference/layeredimage/io/gif.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ Save a layered image as .gif.
3737
```python
3838
def saveLayer_GIF(fileName: str, layeredImage: LayeredImage) -> None:
3939
...
40-
```
41-
42-
40+
```

documentation/reference/layeredimage/io/layered.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,4 @@ def writeImage_LAYERED(
105105
image: Image.Image, zipFile: ZipFile, path: str, compressed: bool = False
106106
):
107107
...
108-
```
109-
110-
108+
```

documentation/reference/layeredimage/io/lsr.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ Save a layered image as .lsr.
3737
```python
3838
def saveLayer_LSR(fileName: str, layeredImage: LayeredImage) -> None:
3939
...
40-
```
41-
42-
40+
```

documentation/reference/layeredimage/io/ora.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,4 @@ Save a layered image as .ora.
5353
```python
5454
def saveLayer_ORA(fileName: str, layeredImage: LayeredImage) -> None:
5555
...
56-
```
57-
58-
56+
```

documentation/reference/layeredimage/io/pdn.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ Save a layered image as .pdn.
3737
```python
3838
def saveLayer_PDN(fileName: str, layeredImage: LayeredImage) -> None:
3939
...
40-
```
41-
42-
40+
```

documentation/reference/layeredimage/io/psd.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ Save a layered image as .psd.
3737
```python
3838
def saveLayer_PSD(fileName: str, layeredImage: LayeredImage) -> None:
3939
...
40-
```
41-
42-
40+
```

documentation/reference/layeredimage/io/tiff.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ Save a layered image as .tiff or .tif.
3737
```python
3838
def saveLayer_TIFF(fileName: str, layeredImage: LayeredImage) -> None:
3939
...
40-
```
41-
42-
40+
```

documentation/reference/layeredimage/io/webp.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ Save a layered image as .webp.
3737
```python
3838
def saveLayer_WEBP(fileName: str, layeredImage: LayeredImage):
3939
...
40-
```
41-
42-
40+
```

documentation/reference/layeredimage/io/xcf.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ Save a layered image as .xcf.
3737
```python
3838
def saveLayer_XCF(fileName: str, layeredImage: LayeredImage) -> None:
3939
...
40-
```
41-
42-
40+
```

documentation/reference/layeredimage/layeredimage.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,4 @@ def flattenLayerOrGroup(
358358
ignoreHidden: bool = True,
359359
):
360360
...
361-
```
362-
363-
361+
```

documentation/reference/layeredimage/layergroup.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,4 @@ Get the object as a dict.
161161
```python
162162
def json(self) -> dict[str, Any]:
163163
...
164-
```
165-
166-
164+
```

layeredimage/io/psd.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#### PSD ####
1414
def openLayer_PSD(file: str) -> LayeredImage:
1515
"""Open a .psd file into a layered image."""
16-
from psdtoolsx import PSDImage
17-
from psdtoolsx.constants import BlendMode as psdB
16+
from psd_tools import PSDImage
17+
from psd_tools.constants import BlendMode as psdB
1818

1919
blendLookup = {
2020
psdB.NORMAL: BlendType.NORMAL,

pyproject.toml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "layeredimage"
3-
version = "2022.0.1"
3+
version = "2023"
44
license = "mit"
55
description = "Use this module to read, and write to a number of layered image formats"
66
authors = ["FredHappyface"]
@@ -23,21 +23,21 @@ readme = "README.md"
2323

2424
[tool.poetry.dependencies]
2525
python = ">=3.8,<4.0"
26-
blendmodes = "<2024,>=2022"
27-
Pillow = "<10,>=9.0.0"
28-
pylsr = "<2024,>=2022"
26+
blendmodes = "<2025,>=2023"
27+
pylsr = "<2025,>=2023"
2928
pyora = "<2,>=0.3.11"
30-
gimpformats = "<2024,>=2022"
3129
pypdn = "<2,>=1.0.6"
3230
deprecation = "<3,>=2.1.0"
33-
psdtoolsx = "<20,>=19.18.0"
31+
psd-tools = "<2,>=1.9.28"
32+
pillow = "<11,>=10.0.0"
33+
gimpformats = "<2025,>=2023.1"
3434

35-
[tool.poetry.dev-dependencies]
35+
[tool.poetry.group.dev.dependencies]
3636
imgcompare = "^2.0.1"
37-
pytest = "^7.1.1"
38-
pylint = "^2.13.5"
39-
handsdown = "^1.1.0"
40-
coverage = "^6.3.2"
37+
pytest = "^7.4.0"
38+
pylint = "^2.17.5"
39+
handsdown = "^2.0.1"
40+
coverage = "^7.3.0"
4141

4242
[tool.black]
4343
line-length = 100

requirements.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Pillow<10,>=9.0.0
2-
blendmodes<2024,>=2022
1+
blendmodes<2025,>=2023
32
deprecation<3,>=2.1.0
4-
gimpformats<2024,>=2022
5-
psdtoolsx<20,>=19.18.0
6-
pylsr<2024,>=2022
3+
gimpformats<2025,>=2023.1
4+
pillow<11,>=10.0.0
5+
psd-tools<2,>=1.9.28
6+
pylsr<2025,>=2023
77
pyora<2,>=0.3.11
88
pypdn<2,>=1.0.6

tests/data/gif_output.ora

0 Bytes
Binary file not shown.

tests/data/layered_output.ora

0 Bytes
Binary file not shown.

tests/data/layeredc_output.ora

0 Bytes
Binary file not shown.

tests/data/lsr_output.lsr

0 Bytes
Binary file not shown.

tests/data/lsr_output.ora

0 Bytes
Binary file not shown.

tests/data/ora_output.layered

0 Bytes
Binary file not shown.

tests/data/ora_output.layeredc

0 Bytes
Binary file not shown.

tests/data/ora_output.ora

0 Bytes
Binary file not shown.

tests/data/pdn_output.ora

0 Bytes
Binary file not shown.

tests/data/psd_output.ora

0 Bytes
Binary file not shown.

tests/data/tiff_output.ora

0 Bytes
Binary file not shown.

tests/data/webp_output.ora

0 Bytes
Binary file not shown.

tests/data/xcf_output.ora

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)