MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Format

Method Format

imagedata/image_data.go:62–64  ·  view source on GitHub ↗

Format returns the image format based on the metadata

()

Source from the content-addressed store, hash-verified

60
61// Format returns the image format based on the metadata
62func (d *imageDataBytes) Format() imagetype.Type {
63 return d.format
64}
65
66// Reader returns an io.ReadSeeker for the image data
67func (d *imageDataBytes) Reader() io.ReadSeeker {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected