Documentation
¶
Overview ¶
Package rasterimage decodes a deterministic still image from supported raster formats. For animated inputs, the returned image is the first animation frame composited onto the format's logical canvas.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Config ¶
func Config(ctx context.Context, data []byte, format string) (config image.Config, animated bool, err error)
Config validates the bounded container structure and reports the logical canvas decoded by DecodeFirst. JPEG dimensions include EXIF Orientation. Animated is true when the input contains an animation rather than a still.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.