Go stdlib package — image/jpeg. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Decode()NeutralDecode(r io.Reader) (image.Image, error)
Decode reads a JPEG image from r and returns it as an image.Image.
.DecodeConfig()NeutralDecodeConfig(r io.Reader) (image.Config, error)
DecodeConfig returns the color model and dimensions of a JPEG image without
.Encode()NeutralEncode(w io.Writer, m image.Image, o *Options) error
Encode writes the Image m to w in JPEG 4:2:0 baseline format with the given
.UnsupportedError.Error()NeutralUnsupportedError.Error() string
UnsupportedError.Error function.
.FormatError()Neutraltype FormatError ...
A FormatError reports that the input is not a valid JPEG.
.Reader()Neutraltype Reader ...
Deprecated: Reader is not used by the image/jpeg package and should
.UnsupportedError()Neutraltype UnsupportedError ...
An UnsupportedError reports that the input uses a valid but unimplemented JPEG feature.
| FQN | Field | |
|---|---|---|
| image/jpeg | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # image/jpeg