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

Function GetTypeDesc

imagetype/registry.go:68–70  ·  view source on GitHub ↗

GetTypeDesc returns the TypeDesc for the given Type. Returns nil if the type is not registered.

(t Type)

Source from the content-addressed store, hash-verified

66// GetTypeDesc returns the TypeDesc for the given Type.
67// Returns nil if the type is not registered.
68func GetTypeDesc(t Type) *TypeDesc {
69 return globalRegistry.GetTypeDesc(t)
70}
71
72// GetTypeByName returns all registered image types.
73func GetTypeByName(name string) (Type, bool) {

Callers 12

MimeMethod · 0.85
StringMethod · 0.85
ExtMethod · 0.85
IsVectorMethod · 0.85
SupportsAlphaMethod · 0.85
SupportsAnimationLoadMethod · 0.85
SupportsAnimationSaveMethod · 0.85
SupportsColourProfileMethod · 0.85
SupportsQualityMethod · 0.85
SupportsThumbnailMethod · 0.85
SupportsHDRMethod · 0.85

Calls 1

GetTypeDescMethod · 0.80

Tested by 1