Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedPlatform = errors.New("goopenjpeg: no prebuilt native library for this platform")
ErrUnsupportedPlatform reports that this GOOS/GOARCH has no prebuilt native library, so nothing can be decoded or encoded. Every entry point wraps it, and the wrapped error names the platform. Test for it with errors.Is.
Functions ¶
Types ¶
type DecodeResult ¶
type EncodeOptions ¶ added in v1.1.0
type ImageParams ¶
type ImageParams struct {
Width int
Height int
Components int
Precision int
IsSigned bool
ColourSpace int
}
func GetParameters ¶
func GetParameters(data []byte, codec int) (*ImageParams, error)
type StatusError ¶
func (*StatusError) Error ¶
func (e *StatusError) Error() string
Click to show internal directories.
Click to hide internal directories.