Gimpformats Index / Gimpformats / Gimpiobase
Auto-generated documentation for gimpformats.GimpIOBase module.
- Gimpiobase
- GimpIOBase
- GimpIOBase().repr
- GimpIOBase().str
- GimpIOBase()._colormapDecode
- GimpIOBase()._guidelinesDecode
- GimpIOBase()._itemPathDecode
- GimpIOBase()._parasitesDecode
- GimpIOBase()._parasitesEncode
- GimpIOBase()._propertiesDecode
- GimpIOBase()._propertiesEncode
- GimpIOBase()._propertyDecode
- GimpIOBase()._propertyEncode
- GimpIOBase()._samplePointsDecode
- GimpIOBase()._userUnitsDecode
- GimpIOBase()._vectorsDecode
- GimpIOBase().activeVector
- GimpIOBase().doc
- GimpIOBase().expanded
- GimpIOBase().expanded
- GimpIOBase().full_repr
- GimpIOBase().pointerSize
- GimpIOBase().root
- GimpIOBase().tattoo
- GimpIOBase().tattoo
- GimpUserUnits
- camel_to_pascal_with_spaces
- GimpIOBase
Show source in GimpIOBase.py:37
class GimpIOBase:
def __init__(self, parent: Any = None) -> None: ...Show source in GimpIOBase.py:555
Get a textual representation of this object.
def __repr__(self) -> str: ...Show source in GimpIOBase.py:551
Get a textual representation of this object.
def __str__(self) -> str: ...Show source in GimpIOBase.py:197
colormapDecode.
data- can be bytearray or an IO object
decode colormap/palette
def _colormapDecode(self, data: bytearray | IO, index: int = 0) -> None: ...Show source in GimpIOBase.py:145
Decode guidelines.
def _guidelinesDecode(self, data: bytearray) -> None: ...Show source in GimpIOBase.py:155
Decode item path.
def _itemPathDecode(self, data: bytearray) -> None: ...Show source in GimpIOBase.py:128
Decode list of parasites.
def _parasitesDecode(self, data: bytearray) -> int: ...Show source in GimpIOBase.py:138
Encode list of parasites.
def _parasitesEncode(self) -> bytearray: ...Show source in GimpIOBase.py:517
Decode a list of properties.
def _propertiesDecode(self, ioBuf: IO) -> int: ...Show source in GimpIOBase.py:531
Encode a list of properties.
uint32 prop_type Type identification uint32 len(payload) size of payload bytes[] payload
def _propertiesEncode(self, enum: Enum = AllProps) -> bytearray: ...Show source in GimpIOBase.py:242
Decode a single property.
def _propertyDecode(self, prop: int, data: bytearray) -> int: ...Show source in GimpIOBase.py:345
Encode a single property.
def _propertyEncode(self, prop: int) -> bytearray: ...Show source in GimpIOBase.py:230
Decode a series of points.
def _samplePointsDecode(self, data: bytearray) -> None: ...Show source in GimpIOBase.py:224
Decode a set of user-defined measurement units.
def _userUnitsDecode(self, data: bytearray) -> None: ...Show source in GimpIOBase.py:165
Decode vectors.
def _vectorsDecode(self, data: bytearray) -> None: ...Show source in GimpIOBase.py:179
Get the vector that is currently active.
@property
def activeVector(self) -> GimpVector: ...Show source in GimpIOBase.py:106
@property
def doc(self) -> GimpIOBase: ...Show source in GimpIOBase.py:184
Is the group layer expanded.
@property
def expanded(self) -> bool: ...Show source in GimpIOBase.py:189
Is the group layer expanded.
@expanded.setter
def expanded(self, expanded: bool) -> None: ...Show source in GimpIOBase.py:566
Get a textual representation of this object.
def full_repr(self, indent: int = 0) -> str: ...Show source in GimpIOBase.py:80
Determine the size of the "pointer" datatype based on the document version.
NOTE: prior to version 11, it was 32-bit, since then it is 64-bit, thus supporting larger image files
@property
def pointerSize(self) -> int: ...Show source in GimpIOBase.py:113
Get the root of the file object tree (Which is the same as self.doc).
@property
def root(self) -> GimpIOBase: ...Show source in GimpIOBase.py:118
Gimp nomenclature for the item's unique id.
@property
def tattoo(self) -> Any | None: ...Show source in GimpIOBase.py:123
Gimp nomenclature for the item's unique id.
@tattoo.setter
def tattoo(self, tattoo: Any | None) -> None: ...Show source in GimpIOBase.py:643
User-defined measurement units.
class GimpUserUnits:
def __init__(self) -> None: ...Show source in GimpIOBase.py:690
Get a textual representation of this object.
def __str__(self) -> str: ...Show source in GimpIOBase.py:655
Decode a byte buffer.
databytearray - data buffer to decodeindexint, optional - index within the buffer to start at]. Defaults to 0.
int- offset
def decode(self, data: bytearray, index: int = 0) -> int: ...Show source in GimpIOBase.py:678
Convert this object to raw bytearray.
def encode(self) -> bytearray: ...Show source in GimpIOBase.py:694
Get a textual representation of this object.
def full_repr(self, indent: int = 0) -> str: ...Show source in GimpIOBase.py:32
def camel_to_pascal_with_spaces(val: str) -> str: ...