{"modulePath":"github.com/Mag1cFall/AIStudio2API","version":"v0.3.16","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package jpeg\n\nPackage jpeg 是 Go 1.27 image/jpeg 解码器的分支：输入为内存中的整段数据，顺序扫描的熵解码改为 64 位位缓冲与查表，IDCT 由 amd64 AVX2 与 arm64 NEON 汇编实现，输出与 image/jpeg 逐像素相同\n\nJPEG is defined in ITU-T T.81: [https://www.w3.org/Graphics/JPEG/itu-t81.pdf](https://www.w3.org/Graphics/JPEG/itu-t81.pdf).\n\n## Functions\n\n```go\nfunc Decode(data []byte) (image.Image, error)\n```\nDecode 解码内存中的 JPEG，结果与 image/jpeg.Decode 逐像素相同\n\n## Types\n\n```go\ntype FormatError string\n```\nA FormatError reports that the input is not a valid JPEG.\n\n```go\nfunc (e FormatError) Error() string\n```\n\n```go\ntype UnsupportedError string\n```\nAn UnsupportedError reports that the input uses a valid but unimplemented JPEG feature.\n\n```go\nfunc (e UnsupportedError) Error() string\n```\n\n","path":"github.com/Mag1cFall/AIStudio2API/internal/imagecodec/jpeg","name":"jpeg","synopsis":"Package jpeg 是 Go 1.27 image/jpeg 解码器的分支：输入为内存中的整段数据，顺序扫描的熵解码改为 64 位位缓冲与查表，IDCT 由 amd64 AVX2 与 arm64 NEON 汇编实现，输出与 image/jpeg 逐像素相同","isRedistributable":true}
