Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DecodeResult ¶
type EncodeOptions ¶ added in v1.1.0
type EncodeOptions struct {
Columns int
Rows int
SamplesPerPixel int
BitsStored int
IsSigned bool
ColourSpace int
UseMCT bool
Codec int
// CompressionRatios empty => lossless.
CompressionRatios []float64
}
EncodeOptions configures JPEG 2000 encoding.
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.