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

Method Size

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

Format returns the image format from the metadata (shortcut)

()

Source from the content-addressed store, hash-verified

22 Reader() io.ReadSeeker // Reader returns a new ReadSeeker for the image data
23 Format() imagetype.Type // Format returns the image format from the metadata (shortcut)
24 Size() (int, error) // Size returns the size of the image data in bytes
25 Error() error // Error returns any error that occurred during reading data from source
26
27 // AddCancel attaches a cancel function to the image data.

Callers 5

GetObjectMethod · 0.65
buildEtagFunction · 0.65
writeDebugHeadersMethod · 0.65
respondWithImageMethod · 0.65
saveImageToFitBytesFunction · 0.65

Implementers 2

imageDataBytesimagedata/image_data.go
imageDataAsyncBufferimagedata/image_data.go

Calls

no outgoing calls

Tested by

no test coverage detected