Versions in this module Expand all Collapse all v0 v0.1.0 Aug 2, 2025 Changes in this version + const BytesPerPlane + func Decode(src []byte, dst *image.Paletted, codec Codec) + func Encode(src image.PalettedImage, dst io.Writer, c Codec) error + type BitDepth uint8 + const BD1 + const BD2 + const BD3 + const BD4 + const BD5 + const BD6 + const BD7 + const BD8 + func (d *BitDepth) UnmarshalText(text []byte) error + func (d BitDepth) BytesPerTile() int + func (d BitDepth) ColorMask() uint8 + func (d BitDepth) Colors() int + func (d BitDepth) Planes() int + type Codec interface + Decode func(src []byte, dst DestImage, x, y int) + Encode func(src SourceImage, x, y int, dst []byte) + Size func() int + type DestImage interface + SetColorIndex func(x, y int, idx uint8) + type Image interface + type Packed struct + BitDepth BitDepth + func (c Packed) Decode(src []byte, dst DestImage, x, y int) + func (c Packed) Encode(src SourceImage, x, y int, dst []byte) + func (c Packed) Size() int + type RowPlanar struct + BitDepth BitDepth + func (c RowPlanar) Decode(src []byte, dst DestImage, x, y int) + func (c RowPlanar) Encode(src SourceImage, x, y int, dst []byte) + func (c RowPlanar) Size() int + type SourceImage interface + ColorIndexAt func(x, y int) uint8 + type TilePlanar struct + BitDepth BitDepth + func (c TilePlanar) Decode(src []byte, dst DestImage, x, y int) + func (c TilePlanar) Encode(src SourceImage, x, y int, dst []byte) + func (c TilePlanar) Size() int + type TileRowPairPlanar struct + BitDepth BitDepth + func (c TileRowPairPlanar) Decode(src []byte, dst DestImage, x, y int) + func (c TileRowPairPlanar) Encode(s SourceImage, x, y int, d []byte) + func (c TileRowPairPlanar) Size() int