Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrRm2kCompatiblePNG ¶
type ErrRm2kCompatiblePNG struct {
// contains filtered or unexported fields
}
ErrRm2kCompatiblePNG is an error that occurs if you're trying to convert an already converted image
func (ErrRm2kCompatiblePNG) Error ¶
func (err ErrRm2kCompatiblePNG) Error() string
func (ErrRm2kCompatiblePNG) PaletteLen ¶
func (err ErrRm2kCompatiblePNG) PaletteLen() int
PaletteLen is the size of the palette of the image you tried to convert
type ErrRm2kDecode ¶
type ErrRm2kDecode struct {
// contains filtered or unexported fields
}
ErrRm2kDecode is an error that occurs if the image given fails to be decoded. This can occur if the file is corrupted or still being written to.
func (ErrRm2kDecode) Error ¶
func (err ErrRm2kDecode) Error() string
type ErrRm2kPaletteTooBig ¶ added in v1.0.1
type ErrRm2kPaletteTooBig struct {
// contains filtered or unexported fields
}
ErrRm2kPaletteTooBig is an error that occurs if the image given exceeds 256 colors. This can occur if the file cannot be converted.
func (ErrRm2kPaletteTooBig) Error ¶ added in v1.0.1
func (err ErrRm2kPaletteTooBig) Error() string
func (ErrRm2kPaletteTooBig) PaletteLen ¶ added in v1.0.1
func (err ErrRm2kPaletteTooBig) PaletteLen() int
PaletteLen is the size of the palette of the image you tried to convert
Click to show internal directories.
Click to hide internal directories.