type image/jpeg.FormatError
40 uses
image/jpeg (current package)
huffman.go#L43: var errShortHuffmanData = FormatError("short Huffman data")
huffman.go#L94: return FormatError("DHT has wrong length")
huffman.go#L101: return FormatError("bad Tc value")
huffman.go#L106: return FormatError("bad Th value")
huffman.go#L120: return FormatError("Huffman table has zero length")
huffman.go#L123: return FormatError("Huffman table has excessive length")
huffman.go#L127: return FormatError("DHT has wrong length")
huffman.go#L180: return 0, FormatError("uninitialized Huffman table")
huffman.go#L221: return 0, FormatError("bad Huffman code")
reader.go#L21: type FormatError string
reader.go#L23: func (e FormatError) Error() string { return "invalid JPEG format: " + string(e) }
reader.go#L206: var errMissingFF00 = FormatError("missing 0xff00 sequence")
reader.go#L309: return FormatError("multiple SOF markers")
reader.go#L331: return FormatError("SOF has wrong length")
reader.go#L340: return FormatError("repeated component identifier")
reader.go#L346: return FormatError("bad Tq value")
reader.go#L352: return FormatError("luma/chroma subsampling ratio")
reader.go#L441: return FormatError("bad Tq value")
reader.go#L445: return FormatError("bad Pq value")
reader.go#L471: return FormatError("DQT has wrong length")
reader.go#L479: return FormatError("DRI has wrong length")
reader.go#L534: return nil, FormatError("missing SOI marker")
reader.go#L603: return nil, FormatError("short segment length")
reader.go#L645: err = FormatError("unknown marker")
reader.go#L671: return nil, FormatError("missing SOS marker")
reader.go#L813: return image.Config{}, FormatError("missing SOF marker")
scan.go#L53: return FormatError("missing SOF marker")
scan.go#L56: return FormatError("SOS has wrong length")
scan.go#L63: return FormatError("SOS length inconsistent with number of components")
scan.go#L80: return FormatError("unknown component selector")
scan.go#L90: return FormatError("repeated component selector")
scan.go#L98: return FormatError("bad Td value")
scan.go#L102: return FormatError("bad Ta value")
scan.go#L108: return FormatError("total sampling factors too large")
scan.go#L135: return FormatError("bad spectral selection bounds")
scan.go#L138: return FormatError("progressive AC coefficients for more than one component")
scan.go#L141: return FormatError("bad successive approximation values")
scan.go#L333: return FormatError("bad RST marker")
scan.go#L406: return FormatError("unexpected Huffman code")
scan.go#L414: return FormatError("too many coefficients")
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |