Skip to content

Commit

Permalink
rel 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
FredHappyface committed Mar 17, 2024
1 parent c218638 commit 2c747a1
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 2 deletions.
4 changes: 4 additions & 0 deletions documentation/reference/gimpformats/GimpChannel.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class GimpChannel(GimpIOBase):
) -> None: ...
```

#### See also

- [GimpIOBase](./GimpIOBase.md#gimpiobase)

### GimpChannel().__repr__

[Show source in GimpChannel.py:99](../../../gimpformats/GimpChannel.py#L99)
Expand Down
8 changes: 8 additions & 0 deletions documentation/reference/gimpformats/GimpIOBase.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ Decode a list of properties.
def _propertiesDecode(self, ioBuf: IO) -> int: ...
```

#### See also

- [IO](./binaryiotools.md#io)

### GimpIOBase()._propertiesEncode

[Show source in GimpIOBase.py:700](../../../gimpformats/GimpIOBase.py#L700)
Expand Down Expand Up @@ -313,6 +317,10 @@ Get the vector that is currently active.
def activeVector(self) -> GimpVector: ...
```

#### See also

- [GimpVector](./GimpVectors.md#gimpvector)

### GimpIOBase().doc

[Show source in GimpIOBase.py:250](../../../gimpformats/GimpIOBase.py#L250)
Expand Down
10 changes: 9 additions & 1 deletion documentation/reference/gimpformats/GimpImageHierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class GimpImageHierarchy(GimpIOBase):
def __init__(self, parent, image: Image.Image | None = None) -> None: ...
```

#### See also

- [GimpIOBase](./GimpIOBase.md#gimpiobase)

### GimpImageHierarchy().__repr__

[Show source in GimpImageHierarchy.py:113](../../../gimpformats/GimpImageHierarchy.py#L113)
Expand Down Expand Up @@ -117,4 +121,8 @@ so this returns an array of one item
```python
@property
def levels(self) -> list[GimpImageLevel]: ...
```
```

#### See also

- [GimpImageLevel](./GimpImageLevel.md#gimpimagelevel)
4 changes: 4 additions & 0 deletions documentation/reference/gimpformats/GimpImageLevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ class GimpImageLevel(GimpIOBase):
def __init__(self, parent) -> None: ...
```

#### See also

- [GimpIOBase](./GimpIOBase.md#gimpiobase)

### GimpImageLevel().__repr__

[Show source in GimpImageLevel.py:284](../../../gimpformats/GimpImageLevel.py#L284)
Expand Down
8 changes: 8 additions & 0 deletions documentation/reference/gimpformats/GimpLayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ class GimpLayer(GimpIOBase):
) -> None: ...
```

#### See also

- [GimpIOBase](./GimpIOBase.md#gimpiobase)

### GimpLayer().__repr__

[Show source in GimpLayer.py:191](../../../gimpformats/GimpLayer.py#L191)
Expand Down Expand Up @@ -165,6 +169,10 @@ NOTE: can return None if it has been fully read into an image
def imageHierarchy(self) -> GimpImageHierarchy: ...
```

#### See also

- [GimpImageHierarchy](./GimpImageHierarchy.md#gimpimagehierarchy)

### GimpLayer().imageHierarchy

[Show source in GimpLayer.py:174](../../../gimpformats/GimpLayer.py#L174)
Expand Down
8 changes: 8 additions & 0 deletions documentation/reference/gimpformats/GimpPrecision.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ Decode the precision code from the file.
def decode(self, gimpVersion: int, ioBuf: IO) -> None: ...
```

#### See also

- [IO](./binaryiotools.md#io)

### Precision().encode

[Show source in GimpPrecision.py:41](../../../gimpformats/GimpPrecision.py#L41)
Expand All @@ -75,6 +79,10 @@ NOTE: will not mess with development versions 5 or 6
def encode(self, gimpVersion: int, ioBuf: IO) -> None: ...
```

#### See also

- [IO](./binaryiotools.md#io)

### Precision().requiredGimpVersion

[Show source in GimpPrecision.py:77](../../../gimpformats/GimpPrecision.py#L77)
Expand Down
28 changes: 28 additions & 0 deletions documentation/reference/gimpformats/gimpXcfDocument.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ class GimpDocument(GimpIOBase):
def __init__(self, fileName=None) -> None: ...
```

#### See also

- [GimpIOBase](./GimpIOBase.md#gimpiobase)

### GimpDocument().__delitem__

[Show source in gimpXcfDocument.py:343](../../../gimpformats/gimpXcfDocument.py#L343)
Expand Down Expand Up @@ -104,6 +108,10 @@ Get the layer at an index.
def __getitem__(self, index: int) -> GimpLayer: ...
```

#### See also

- [GimpLayer](./GimpLayer.md#gimplayer)

### GimpDocument().__len__

[Show source in gimpXcfDocument.py:322](../../../gimpformats/gimpXcfDocument.py#L322)
Expand Down Expand Up @@ -172,6 +180,10 @@ Append a layer object to the document.
def addLayer(self, layer: GimpLayer) -> None: ...
```

#### See also

- [GimpLayer](./GimpLayer.md#gimplayer)

### GimpDocument().appendLayer

[Show source in gimpXcfDocument.py:302](../../../gimpformats/gimpXcfDocument.py#L302)
Expand All @@ -188,6 +200,10 @@ Append a layer object to the document.
def appendLayer(self, layer: GimpLayer) -> None: ...
```

#### See also

- [GimpLayer](./GimpLayer.md#gimplayer)

### GimpDocument().decode

[Show source in gimpXcfDocument.py:94](../../../gimpformats/gimpXcfDocument.py#L94)
Expand Down Expand Up @@ -316,6 +332,10 @@ Insert a layer object at a specific position.
def insertLayer(self, layer: GimpLayer, index: int = -1) -> None: ...
```

#### See also

- [GimpLayer](./GimpLayer.md#gimplayer)

### GimpDocument().layers

[Show source in gimpXcfDocument.py:224](../../../gimpformats/gimpXcfDocument.py#L224)
Expand Down Expand Up @@ -371,6 +391,10 @@ Create a new layer based on a PIL image.
def newLayer(self, name: str, image: Image.Image, index: int = -1) -> GimpLayer: ...
```

#### See also

- [GimpLayer](./GimpLayer.md#gimplayer)

### GimpDocument().newLayerFromClipboard

[Show source in gimpXcfDocument.py:274](../../../gimpformats/gimpXcfDocument.py#L274)
Expand Down Expand Up @@ -483,6 +507,10 @@ def flattenAll(
) -> Image.Image: ...
```

#### See also

- [GimpLayer](./GimpLayer.md#gimplayer)



## flattenLayerOrGroup
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gimpformats"
version = "2023.1"
version = "2024"
license = "lgpl-3.0-only"
description = "Pure python implementation of the gimp file format(s)"
authors = ["FredHappyface"]
Expand Down

0 comments on commit 2c747a1

Please sign in to comment.