Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
FredHappyface committed Feb 20, 2025
1 parent 5059f89 commit b512fa0
Show file tree
Hide file tree
Showing 37 changed files with 190 additions and 205 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All major and minor version changes will be documented in this file. Details of
patch-level version changes can be found in [commit messages](../../commits/master).

## 2025 - 2025/02/20

- code clean up
- typing and linting improvements
- performance improvements (`_decodeRLE` takes approx half the time to decode)
- improve tests coverage
- add `native_convert:convert_xcf_to_flat_image` to drive gimp directly if it
exists to do a conversion. Note this is highly experimental at present, though
will likely export more accurately than gimpformats will

## 2024 - 2024/01/24

- more typing
Expand Down
6 changes: 3 additions & 3 deletions documentation/reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ A full list of `Gimpformats` project modules.
- [Gimpvbrbrush](gimpformats/GimpVbrBrush.md#gimpvbrbrush)
- [Gimpvectors](gimpformats/GimpVectors.md#gimpvectors)
- [Gimpxcfdocument](gimpformats/gimpXcfDocument.md#gimpxcfdocument)
- [Native Convert](gimpformats/native_convert.md#native-convert)
- [Utils](gimpformats/utils.md#utils)
- [Test Informal](test_informal/index.md#test-informal)
- [Masktest](test_informal/masktest.md#masktest)
- [Simpletest](test_informal/simpletest.md#simpletest)
- [Test64x64](test_informal/test64x64.md#test64x64)
- [Test Gimp Document](test_informal/test_gimp_document.md#test-gimp-document)
- [Test Native Convert](test_informal/test_native_convert.md#test-native-convert)
10 changes: 5 additions & 5 deletions documentation/reference/gimpformats/GimpGgrGradient.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class GimpGgrGradient:

### GimpGgrGradient().__str__

[Show source in GimpGgrGradient.py:194](../../../gimpformats/GimpGgrGradient.py#L194)
[Show source in GimpGgrGradient.py:196](../../../gimpformats/GimpGgrGradient.py#L196)

Get a textual representation of this object.

Expand Down Expand Up @@ -72,7 +72,7 @@ def decode(self, dataIn: bytearray | bytes) -> None: ...

### GimpGgrGradient().encode

[Show source in GimpGgrGradient.py:175](../../../gimpformats/GimpGgrGradient.py#L175)
[Show source in GimpGgrGradient.py:177](../../../gimpformats/GimpGgrGradient.py#L177)

Encode this to bytearray.

Expand All @@ -84,7 +84,7 @@ def encode(self) -> bytes: ...

### GimpGgrGradient().full_repr

[Show source in GimpGgrGradient.py:198](../../../gimpformats/GimpGgrGradient.py#L198)
[Show source in GimpGgrGradient.py:200](../../../gimpformats/GimpGgrGradient.py#L200)

Get a textual representation of this object.

Expand All @@ -96,7 +96,7 @@ def full_repr(self, indent: int = 0) -> str: ...

### GimpGgrGradient().getColor

[Show source in GimpGgrGradient.py:187](../../../gimpformats/GimpGgrGradient.py#L187)
[Show source in GimpGgrGradient.py:189](../../../gimpformats/GimpGgrGradient.py#L189)

Given a decimal percent (1.0 = 100%) retrieve...

Expand Down Expand Up @@ -126,7 +126,7 @@ def load(self, fileName: BytesIO | str) -> None: ...

### GimpGgrGradient().save

[Show source in GimpGgrGradient.py:183](../../../gimpformats/GimpGgrGradient.py#L183)
[Show source in GimpGgrGradient.py:185](../../../gimpformats/GimpGgrGradient.py#L185)

Save this gimp image to a file.

Expand Down
Loading

0 comments on commit b512fa0

Please sign in to comment.