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

Method Format

imagedata/image_data.go:104–106  ·  view source on GitHub ↗

Format returns the image format from the metadata

()

Source from the content-addressed store, hash-verified

102
103// Format returns the image format from the metadata
104func (d *imageDataAsyncBuffer) Format() imagetype.Type {
105 return d.format
106}
107
108// Size returns the size of the image data in bytes.
109// It waits for the async buffer to finish reading.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected