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

Method Type

vips/vips.go:720–722  ·  view source on GitHub ↗

Type returns the current colorspace interpretation of the image.

()

Source from the content-addressed store, hash-verified

718
719// Type returns the current colorspace interpretation of the image.
720func (img *Image) Type() Interpretation {
721 return Interpretation(img.VipsImage.Type)
722}
723
724// GuessInterpretation returns the guessed colorspace interpretation of the image.
725func (img *Image) GuessInterpretation() Interpretation {

Callers 7

ColorspaceMethod · 0.95
deepEqualFunction · 0.80
processImageAndCheckMethod · 0.80
scaleMethod · 0.80
setMetadataFunction · 0.80
setMetadataFunction · 0.80
setMetadataFunction · 0.80

Calls 1

InterpretationTypeAlias · 0.85

Tested by 1

processImageAndCheckMethod · 0.64