Skip to content

Latest commit

 

History

History
96 lines (58 loc) · 2.06 KB

File metadata and controls

96 lines (58 loc) · 2.06 KB

Gimpprecision

Gimpformats Index / Gimpformats / Gimpprecision

Auto-generated documentation for gimpformats.GimpPrecision module.

Precision

Show source in GimpPrecision.py:8

Since the precision code is so unusual, I decided to create a class to parse it.

Signature

class Precision:
    def __init__(self) -> None: ...

Precision().repr

Show source in GimpPrecision.py:88

Get a textual representation of this object.

Signature

def __repr__(self) -> str: ...

Precision().str

Show source in GimpPrecision.py:84

Get a textual representation of this object.

Signature

def __str__(self) -> str: ...

Precision().decode

Show source in GimpPrecision.py:17

Decode the precision code from the file.

Signature

def decode(self, gimpVersion: int, ioBuf: IO) -> None: ...

See also

Precision().encode

Show source in GimpPrecision.py:40

Encode this to the file.

NOTE: will not mess with development versions 5 or 6

Signature

def encode(self, gimpVersion: int, ioBuf: IO) -> None: ...

See also

Precision().requiredGimpVersion

Show source in GimpPrecision.py:76

Return the lowest gimp version that supports this precision.

Signature

def requiredGimpVersion(self) -> int: ...