package rasterimage
Import Path
github.com/pancsta/d2/internal/rasterimage (on go.dev)
Dependency Relation
imports 15 packages, and imported by 4 packages
Involved Source Files
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.
jpeg_orientation.go
Package-Level Functions (total 2)
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.
DecodeFirst returns the first animation frame on the logical canvas and
applies JPEG EXIF Orientation. It validates container framing but does not
decode later animation frames.
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |