Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DecodeError ¶ added in v1.2.0
type DecodeError string
const DecodeDataError DecodeError = "invalid body"
const DecodeHeaderError DecodeError = "invalid header"
const DecodeInputError DecodeError = "unable to set input"
func (DecodeError) Error ¶ added in v1.2.0
func (e DecodeError) Error() string
type EncodeError ¶ added in v1.2.0
type EncodeError string
const EncodeClosedError EncodeError = "encoder is closed"
const EncodeDataError EncodeError = "unknown"
const EncodeInfoError EncodeError = "failed to set info"
const EncodeInputError EncodeError = "failed to set input"
const EncodeUninitializedError EncodeError = "info not set before writing"
const EncodeUnsupportedError EncodeError = "image type not supported"
func (EncodeError) Error ¶ added in v1.2.0
func (e EncodeError) Error() string
type JxlDecoder ¶ added in v1.1.0
type JxlDecoder struct {
// contains filtered or unexported fields
}
func NewJxlDecoder ¶ added in v1.1.0
func NewJxlDecoder(r io.Reader) *JxlDecoder
func (*JxlDecoder) Destroy ¶ added in v1.1.0
func (d *JxlDecoder) Destroy()
func (*JxlDecoder) FrameDuration ¶ added in v1.2.1
func (d *JxlDecoder) FrameDuration() time.Duration
func (*JxlDecoder) Info ¶ added in v1.1.0
func (d *JxlDecoder) Info() (JxlInfo, error)
func (*JxlDecoder) Read ¶ added in v1.1.0
func (d *JxlDecoder) Read() ([]byte, error)
func (*JxlDecoder) Reset ¶ added in v1.1.0
func (d *JxlDecoder) Reset(r io.Reader)
func (*JxlDecoder) Rewind ¶ added in v1.1.0
func (d *JxlDecoder) Rewind()
type JxlEncoder ¶ added in v1.2.0
type JxlEncoder struct {
// contains filtered or unexported fields
}
func NewJxlEncoder ¶ added in v1.2.0
func NewJxlEncoder(w io.Writer) *JxlEncoder
func (*JxlEncoder) Destroy ¶ added in v1.2.0
func (e *JxlEncoder) Destroy()
func (*JxlEncoder) NextIsLast ¶ added in v1.2.0
func (e *JxlEncoder) NextIsLast()
func (*JxlEncoder) Write ¶ added in v1.2.0
func (e *JxlEncoder) Write(b []byte) error
Click to show internal directories.
Click to hide internal directories.