Gimpformats Index / Gimpformats / Gimpprecision
Auto-generated documentation for gimpformats.GimpPrecision module.
Show source in GimpPrecision.py:8
Since the precision code is so unusual, I decided to create a class to parse it.
class Precision:
def __init__(self) -> None: ...Show source in GimpPrecision.py:88
Get a textual representation of this object.
def __repr__(self) -> str: ...Show source in GimpPrecision.py:84
Get a textual representation of this object.
def __str__(self) -> str: ...Show source in GimpPrecision.py:17
Decode the precision code from the file.
def decode(self, gimpVersion: int, ioBuf: IO) -> None: ...Show source in GimpPrecision.py:40
Encode this to the file.
NOTE: will not mess with development versions 5 or 6
def encode(self, gimpVersion: int, ioBuf: IO) -> None: ...Show source in GimpPrecision.py:76
Return the lowest gimp version that supports this precision.
def requiredGimpVersion(self) -> int: ...