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

Method Error

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

Size returns the size of the image data in bytes

()

Source from the content-addressed store, hash-verified

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.
28 // Please note that Cancel functions must be idempotent: for instance, an implementation

Implementers 2

imageDataBytesimagedata/image_data.go
imageDataAsyncBufferimagedata/image_data.go

Calls

no outgoing calls