MCPcopy Create free account

hub / github.com/imgproxy/imgproxy / functions

Functions1,844 in github.com/imgproxy/imgproxy

↓ 2 callersMethodGetBlob
(name string)
vips/vips.go:519
↓ 2 callersMethodGetString
GetString retrieves a string value. If the key doesn't exist, it returns the provided default value. If the value exists but is of a different type, i
options/options.go:276
↓ 2 callersMethodGetTypeDesc
GetTypeDesc returns the TypeDesc for the given Type. Returns nil if the type is not registered.
imagetype/registry.go:98
↓ 2 callersMethodGravity
()
processing/options.go:73
↓ 2 callersMethodGuessInterpretation
GuessInterpretation returns the guessed colorspace interpretation of the image.
vips/vips.go:725
↓ 2 callersMethodHEAD
HEAD adds HEAD route
server/router.go:98
↓ 2 callersMethodHasAlpha
()
vips/vips.go:451
↓ 2 callersMethodHeaders
()
fetcher/errors.go:150
↓ 2 callersMethodImageDataFactory
()
handlers/processing/handler.go:31
↓ 2 callersMethodImagePath
()
processing/suite_test.go:23
↓ 2 callersFunctionImageTypesQuality
ImageTypesQuality defines image format quality map env var descriptor. Parses format=quality pairs (e.g., "jpg=80,webp=90").
env/types.go:140
↓ 2 callersMethodImportColourProfile
()
vips/vips.go:760
↓ 2 callersMethodIncImagesInProgress
IncImagesInProgress increments the images in progress counter
monitoring/stats/stats.go:42
↓ 2 callersMethodInjectHeaders
(ctx context.Context, headers http.Header)
monitoring/monitoring.go:31
↓ 2 callersMethodInjectImageRequestHeaders
InjectImageRequestHeaders injects conditional headers into the source image request if needed.
httpheaders/conditionalheaders/request.go:40
↓ 2 callersMethodIsAnimated
()
vips/vips.go:432
↓ 2 callersMethodIter
Iter returns an iterator over the attributes. !WARNING! Don't delete items from the Attributes while iterating. If you need to filter attributes, use
xmlparser/attributes.go:120
↓ 2 callersMethodJarFromRequest
JarFromRequest creates a cookie jar from the given HTTP request
cookies/cookies.go:74
↓ 2 callersFunctionLoadConfigFromEnv
(o *Config)
logger/config.go:57
↓ 2 callersFunctionLoadConfigFromEnv
LoadConfigFromEnv overrides current values with environment variables
server/config.go:88
↓ 2 callersMethodLoadThumbnail
(imgdata imagedata.ImageData)
vips/vips.go:314
↓ 2 callersFunctionLogRequest
(reqID string, r *http.Request)
server/logging.go:13
↓ 2 callersMethodMaxAnimationFrames
()
processing/options.go:304
↓ 2 callersFunctionMetaKey
MetaKey formats a metadata key with the standard prefix.
monitoring/meta.go:31
↓ 2 callersFunctionMetaURLOrigin
MetaURLOrigin extracts the origin (scheme + host) from a URL for metadata purposes.
monitoring/meta.go:36
↓ 2 callersFunctionNew
New creates a new Security instance
security/checker.go:14
↓ 2 callersFunctionNew
New creates a new Cookies instance
cookies/cookies.go:30
↓ 2 callersFunctionNewAttributes
NewAttributes creates a new [Attributes] instance from the given attributes.
xmlparser/attributes.go:21
↓ 2 callersFunctionNewDecoder
(r io.Reader)
xmlparser/decoder.go:45
↓ 2 callersFunctionNewDefaultConfig
NewDefaultConfig returns a new Config instance with default values.
security/config.go:42
↓ 2 callersFunctionNewDefaultConfig
NewDefaultConfig creates a new configuration with defaults
httpheaders/conditionalheaders/config.go:27
↓ 2 callersFunctionNewDefaultConfig
NewDefaultConfig returns a new default configuration for Google Cloud Storage transport
storage/gcs/config.go:31
↓ 2 callersFunctionNewDefaultConfig
NewDefaultConfig returns a new default configuration for S3 transport
storage/s3/config.go:36
↓ 2 callersFunctionNewDefaultConfig
NewDefaultConfig returns a new default configuration for Swift storage
storage/swift/config.go:41
↓ 2 callersFunctionNewDefaultConfig
NewDefaultConfig returns a new default configuration for local file system transport
storage/fs/config.go:25
↓ 2 callersFunctionNewDefaultConfig
NewDefaultConfig creates a new Config instance with default values.
cookies/config.go:24
↓ 2 callersFunctionNewDefaultStaticConfig
NewDefaultStaticConfig creates a new default configuration for the auxiliary image provider
auximageprovider/static_config.go:26
↓ 2 callersFunctionNewFactory
NewFactory creates a new Factory instance with the given configuration.
httpheaders/conditionalheaders/factory.go:11
↓ 2 callersMethodNewFromBase64
NewFromBase64 creates a new ImageData from a base64 encoded byte slice
imagedata/factory.go:81
↓ 2 callersMethodNewFromPath
NewFromPath creates a new ImageData from an os.File
imagedata/factory.go:65
↓ 2 callersMethodNewProcessingOptions
(o *options.Options)
processing/options.go:25
↓ 2 callersFunctionNonZero
(a, b T)
imath/imath.go:56
↓ 2 callersMethodOPTIONS
OPTIONS adds OPTIONS route
server/router.go:93
↓ 2 callersMethodOrientation
()
vips/vips.go:594
↓ 2 callersMethodPaddingEnabled
()
processing/options.go:142
↓ 2 callersMethodPagesLoaded
PagesLoaded returns number of pages in the loaded image.
vips/vips.go:255
↓ 2 callersMethodPassthrough
Passthrough copies specified headers from the original response headers to the response headers.
server/responsewriter/writer.go:96
↓ 2 callersMethodPrintf
(format string, v ...any)
errorreport/bugsnag/bugsnag.go:15
↓ 2 callersMethodPropagate
Propagate propagates a value under the given key to the Options descendants if any.
options/options.go:136
↓ 2 callersMethodPublicMessage
PublicMessage returns the public message associated with the error.
errctx/error.go:15
↓ 2 callersFunctionRedenormalizePath
RedenormalizePath undoes path normalization done by some browsers and revers proxies. Also trims leading slash if it is present.
handlers/path.go:42
↓ 2 callersFunctionRegisterDetector
RegisterDetector registers a custom detector function Detectors are tried in the order they were registered
imagetype/registry.go:118
↓ 2 callersMethodRegisterMagicBytes
RegisterMagicBytes registers magic bytes for a specific image type on this registry instance
imagetype/registry.go:149
↓ 2 callersMethodRegisterType
RegisterType registers a new image type in this registry. It panics if the type already exists (i.e., if a TypeDesc is already registered for this Typ
imagetype/registry.go:79
↓ 2 callersMethodRemoveColourProfile
()
vips/vips.go:801
↓ 2 callersMethodReplicate
(width, height int, centered bool)
vips/vips.go:845
↓ 2 callersFunctionRequestDuration
RequestDuration returns the duration since the timer started in the context.
server/timer.go:23
↓ 2 callersMethodResizingType
()
processing/options.go:49
↓ 2 callersMethodRewind
Rewind seeks buffer to the beginning
bufreader/bufreader.go:65
↓ 2 callersMethodRotateAndFlip
RotateAndFlip rotates and flips the gravity options so that they correspond to the image before rotation and flipping. By design, rotation and flippi
processing/gravity.go:88
↓ 2 callersFunctionRound
(a float64)
imath/imath.go:16
↓ 2 callersMethodRoundTrip
RoundTrip implements the http.RoundTripper interface
fetcher/transport/round_tripper.go:26
↓ 2 callersMethodSave
( imgtype imagetype.Type, quality int, o *options.Options, )
vips/vips.go:336
↓ 2 callersMethodSend
Send sends the generic request and returns the http.Response or an error
fetcher/request.go:31
↓ 2 callersMethodServer
Server returns the underlying S3Server
storage/s3/storage_test.go:47
↓ 2 callersMethodSetBlob
(name string, value []byte)
vips/vips.go:547
↓ 2 callersMethodSetContentDisposition
SetContentDisposition sets the Content-Disposition header, passthrough to ContentDispositionValue
server/responsewriter/writer.go:81
↓ 2 callersMethodSetContentType
SetContentType sets the Content-Type header
server/responsewriter/writer.go:116
↓ 2 callersMethodSetFormat
(format imagetype.Type)
processing/options.go:125
↓ 2 callersMethodSetHTTPResponseWriter
SetHTTPResponseWriter replaces the underlying http.ResponseWriter.
server/responsewriter/writer.go:41
↓ 2 callersMethodSetHook
SetHook sets a function that will be called on each request. It is called after headsers are set, but before status and body are written.
testutil/test_server.go:95
↓ 2 callersMethodSetMetadata
(ctx context.Context, key string, value any)
monitoring/monitoring.go:29
↓ 2 callersMethodSetWatermarkOpacity
(opacity float64)
processing/options.go:233
↓ 2 callersMethodShouldFlatten
()
processing/options.go:134
↓ 2 callersFunctionShrinkToEven
(a int, shrink float64)
imath/imath.go:48
↓ 2 callersFunctionSplitPathSignature
SplitPathSignature splits signature and path components from the request URI
handlers/path.go:14
↓ 2 callersMethodStartRequest
( ctx context.Context, rw http.ResponseWriter, r *http.Request, )
monitoring/monitoring.go:19
↓ 2 callersMethodStartServer
StartServer runs the imgproxy server. This function blocks until the context is cancelled. If hasStarted is not nil, it will be notified with the serv
imgproxy.go:193
↓ 2 callersMethodString
String returns the string representation of the WebpPreset
vips/webp_preset.go:41
↓ 2 callersMethodString
String returns Options as a string representation of the map.
options/options.go:355
↓ 2 callersMethodString
()
processing/watermark_test.go:56
↓ 2 callersFunctionStringMap
StringMap defines string key-value map env var descriptor. Parses semicolon-separated key=value pairs.
env/types.go:170
↓ 2 callersFunctionStringSliceSep
StringSliceSep defines string slice env var descriptor with custom separator. The separator is read from the provided StringVar descriptor's env varia
env/types.go:180
↓ 2 callersMethodSupportsColourProfile
SupportsColourProfile checks if the image type supports colour profiles.
imagetype/type.go:97
↓ 2 callersFunctionSupportsLoad
(it imagetype.Type)
vips/vips.go:143
↓ 2 callersMethodSupportsQuality
SupportsQuality checks if the image type supports quality adjustments.
imagetype/type.go:106
↓ 2 callersFunctionTestMain
TestMain performs global setup/teardown for the integration tests. Use it in packages that use [Suite] for integration tests.
testutil/servertest/test_main.go:13
↓ 2 callersMethodToken
()
xmlparser/decoder.go:65
↓ 2 callersMethodTrimEnabled
()
processing/options.go:201
↓ 2 callersMethodURL
URL returns the server URL
storage/abs/server_test.go:49
↓ 2 callersMethodURLOptions
()
processing/suite_test.go:22
↓ 2 callersFunctionURLPatterns
URLPatterns defines regexp patterns slice env var descriptor. Parses comma-separated wildcard patterns and converts them to regexps.
env/types.go:150
↓ 2 callersMethodUnwrap
Unwrap returns the wrapped error.
errctx/wrapped_error.go:89
↓ 2 callersFunctionVerifySourceNetwork
(addr string, config *Config)
fetcher/transport/generichttp/generic_http.go:70
↓ 2 callersMethodWait
Wait blocks until the latch is released.
asyncbuffer/latch.go:24
↓ 2 callersMethodWait
Wait waits for the reader to finish reading all data and returns the total length of the data read.
asyncbuffer/buffer.go:154
↓ 2 callersMethodWaitFor
WaitFor waits for the data to be ready at the given offset. nil means ok. It guarantees that the chunk at the given offset is ready to be read.
asyncbuffer/buffer.go:129
↓ 2 callersMethodWatermarkPosition
()
processing/options.go:241
↓ 2 callersMethodWatermarkXOffset
()
processing/options.go:245
↓ 2 callersMethodWatermarkYOffset
()
processing/options.go:249
← previousnext →401–500 of 1,844, ranked by callers