Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ functions
Functions
1,844 in github.com/imgproxy/imgproxy
⨍
Functions
1,844
◇
Types & classes
321
↓ 2 callers
Method
GetBlob
(name string)
vips/vips.go:519
↓ 2 callers
Method
GetString
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 callers
Method
GetTypeDesc
GetTypeDesc returns the TypeDesc for the given Type. Returns nil if the type is not registered.
imagetype/registry.go:98
↓ 2 callers
Method
Gravity
()
processing/options.go:73
↓ 2 callers
Method
GuessInterpretation
GuessInterpretation returns the guessed colorspace interpretation of the image.
vips/vips.go:725
↓ 2 callers
Method
HEAD
HEAD adds HEAD route
server/router.go:98
↓ 2 callers
Method
HasAlpha
()
vips/vips.go:451
↓ 2 callers
Method
Headers
()
fetcher/errors.go:150
↓ 2 callers
Method
ImageDataFactory
()
handlers/processing/handler.go:31
↓ 2 callers
Method
ImagePath
()
processing/suite_test.go:23
↓ 2 callers
Function
ImageTypesQuality
ImageTypesQuality defines image format quality map env var descriptor. Parses format=quality pairs (e.g., "jpg=80,webp=90").
env/types.go:140
↓ 2 callers
Method
ImportColourProfile
()
vips/vips.go:760
↓ 2 callers
Method
IncImagesInProgress
IncImagesInProgress increments the images in progress counter
monitoring/stats/stats.go:42
↓ 2 callers
Method
InjectHeaders
(ctx context.Context, headers http.Header)
monitoring/monitoring.go:31
↓ 2 callers
Method
InjectImageRequestHeaders
InjectImageRequestHeaders injects conditional headers into the source image request if needed.
httpheaders/conditionalheaders/request.go:40
↓ 2 callers
Method
IsAnimated
()
vips/vips.go:432
↓ 2 callers
Method
Iter
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 callers
Method
JarFromRequest
JarFromRequest creates a cookie jar from the given HTTP request
cookies/cookies.go:74
↓ 2 callers
Function
LoadConfigFromEnv
(o *Config)
logger/config.go:57
↓ 2 callers
Function
LoadConfigFromEnv
LoadConfigFromEnv overrides current values with environment variables
server/config.go:88
↓ 2 callers
Method
LoadThumbnail
(imgdata imagedata.ImageData)
vips/vips.go:314
↓ 2 callers
Function
LogRequest
(reqID string, r *http.Request)
server/logging.go:13
↓ 2 callers
Method
MaxAnimationFrames
()
processing/options.go:304
↓ 2 callers
Function
MetaKey
MetaKey formats a metadata key with the standard prefix.
monitoring/meta.go:31
↓ 2 callers
Function
MetaURLOrigin
MetaURLOrigin extracts the origin (scheme + host) from a URL for metadata purposes.
monitoring/meta.go:36
↓ 2 callers
Function
New
New creates a new Security instance
security/checker.go:14
↓ 2 callers
Function
New
New creates a new Cookies instance
cookies/cookies.go:30
↓ 2 callers
Function
NewAttributes
NewAttributes creates a new [Attributes] instance from the given attributes.
xmlparser/attributes.go:21
↓ 2 callers
Function
NewDecoder
(r io.Reader)
xmlparser/decoder.go:45
↓ 2 callers
Function
NewDefaultConfig
NewDefaultConfig returns a new Config instance with default values.
security/config.go:42
↓ 2 callers
Function
NewDefaultConfig
NewDefaultConfig creates a new configuration with defaults
httpheaders/conditionalheaders/config.go:27
↓ 2 callers
Function
NewDefaultConfig
NewDefaultConfig returns a new default configuration for Google Cloud Storage transport
storage/gcs/config.go:31
↓ 2 callers
Function
NewDefaultConfig
NewDefaultConfig returns a new default configuration for S3 transport
storage/s3/config.go:36
↓ 2 callers
Function
NewDefaultConfig
NewDefaultConfig returns a new default configuration for Swift storage
storage/swift/config.go:41
↓ 2 callers
Function
NewDefaultConfig
NewDefaultConfig returns a new default configuration for local file system transport
storage/fs/config.go:25
↓ 2 callers
Function
NewDefaultConfig
NewDefaultConfig creates a new Config instance with default values.
cookies/config.go:24
↓ 2 callers
Function
NewDefaultStaticConfig
NewDefaultStaticConfig creates a new default configuration for the auxiliary image provider
auximageprovider/static_config.go:26
↓ 2 callers
Function
NewFactory
NewFactory creates a new Factory instance with the given configuration.
httpheaders/conditionalheaders/factory.go:11
↓ 2 callers
Method
NewFromBase64
NewFromBase64 creates a new ImageData from a base64 encoded byte slice
imagedata/factory.go:81
↓ 2 callers
Method
NewFromPath
NewFromPath creates a new ImageData from an os.File
imagedata/factory.go:65
↓ 2 callers
Method
NewProcessingOptions
(o *options.Options)
processing/options.go:25
↓ 2 callers
Function
NonZero
(a, b T)
imath/imath.go:56
↓ 2 callers
Method
OPTIONS
OPTIONS adds OPTIONS route
server/router.go:93
↓ 2 callers
Method
Orientation
()
vips/vips.go:594
↓ 2 callers
Method
PaddingEnabled
()
processing/options.go:142
↓ 2 callers
Method
PagesLoaded
PagesLoaded returns number of pages in the loaded image.
vips/vips.go:255
↓ 2 callers
Method
Passthrough
Passthrough copies specified headers from the original response headers to the response headers.
server/responsewriter/writer.go:96
↓ 2 callers
Method
Printf
(format string, v ...any)
errorreport/bugsnag/bugsnag.go:15
↓ 2 callers
Method
Propagate
Propagate propagates a value under the given key to the Options descendants if any.
options/options.go:136
↓ 2 callers
Method
PublicMessage
PublicMessage returns the public message associated with the error.
errctx/error.go:15
↓ 2 callers
Function
RedenormalizePath
RedenormalizePath undoes path normalization done by some browsers and revers proxies. Also trims leading slash if it is present.
handlers/path.go:42
↓ 2 callers
Function
RegisterDetector
RegisterDetector registers a custom detector function Detectors are tried in the order they were registered
imagetype/registry.go:118
↓ 2 callers
Method
RegisterMagicBytes
RegisterMagicBytes registers magic bytes for a specific image type on this registry instance
imagetype/registry.go:149
↓ 2 callers
Method
RegisterType
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 callers
Method
RemoveColourProfile
()
vips/vips.go:801
↓ 2 callers
Method
Replicate
(width, height int, centered bool)
vips/vips.go:845
↓ 2 callers
Function
RequestDuration
RequestDuration returns the duration since the timer started in the context.
server/timer.go:23
↓ 2 callers
Method
ResizingType
()
processing/options.go:49
↓ 2 callers
Method
Rewind
Rewind seeks buffer to the beginning
bufreader/bufreader.go:65
↓ 2 callers
Method
RotateAndFlip
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 callers
Function
Round
(a float64)
imath/imath.go:16
↓ 2 callers
Method
RoundTrip
RoundTrip implements the http.RoundTripper interface
fetcher/transport/round_tripper.go:26
↓ 2 callers
Method
Save
( imgtype imagetype.Type, quality int, o *options.Options, )
vips/vips.go:336
↓ 2 callers
Method
Send
Send sends the generic request and returns the http.Response or an error
fetcher/request.go:31
↓ 2 callers
Method
Server
Server returns the underlying S3Server
storage/s3/storage_test.go:47
↓ 2 callers
Method
SetBlob
(name string, value []byte)
vips/vips.go:547
↓ 2 callers
Method
SetContentDisposition
SetContentDisposition sets the Content-Disposition header, passthrough to ContentDispositionValue
server/responsewriter/writer.go:81
↓ 2 callers
Method
SetContentType
SetContentType sets the Content-Type header
server/responsewriter/writer.go:116
↓ 2 callers
Method
SetFormat
(format imagetype.Type)
processing/options.go:125
↓ 2 callers
Method
SetHTTPResponseWriter
SetHTTPResponseWriter replaces the underlying http.ResponseWriter.
server/responsewriter/writer.go:41
↓ 2 callers
Method
SetHook
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 callers
Method
SetMetadata
(ctx context.Context, key string, value any)
monitoring/monitoring.go:29
↓ 2 callers
Method
SetWatermarkOpacity
(opacity float64)
processing/options.go:233
↓ 2 callers
Method
ShouldFlatten
()
processing/options.go:134
↓ 2 callers
Function
ShrinkToEven
(a int, shrink float64)
imath/imath.go:48
↓ 2 callers
Function
SplitPathSignature
SplitPathSignature splits signature and path components from the request URI
handlers/path.go:14
↓ 2 callers
Method
StartRequest
( ctx context.Context, rw http.ResponseWriter, r *http.Request, )
monitoring/monitoring.go:19
↓ 2 callers
Method
StartServer
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 callers
Method
String
String returns the string representation of the WebpPreset
vips/webp_preset.go:41
↓ 2 callers
Method
String
String returns Options as a string representation of the map.
options/options.go:355
↓ 2 callers
Method
String
()
processing/watermark_test.go:56
↓ 2 callers
Function
StringMap
StringMap defines string key-value map env var descriptor. Parses semicolon-separated key=value pairs.
env/types.go:170
↓ 2 callers
Function
StringSliceSep
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 callers
Method
SupportsColourProfile
SupportsColourProfile checks if the image type supports colour profiles.
imagetype/type.go:97
↓ 2 callers
Function
SupportsLoad
(it imagetype.Type)
vips/vips.go:143
↓ 2 callers
Method
SupportsQuality
SupportsQuality checks if the image type supports quality adjustments.
imagetype/type.go:106
↓ 2 callers
Function
TestMain
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 callers
Method
Token
()
xmlparser/decoder.go:65
↓ 2 callers
Method
TrimEnabled
()
processing/options.go:201
↓ 2 callers
Method
URL
URL returns the server URL
storage/abs/server_test.go:49
↓ 2 callers
Method
URLOptions
()
processing/suite_test.go:22
↓ 2 callers
Function
URLPatterns
URLPatterns defines regexp patterns slice env var descriptor. Parses comma-separated wildcard patterns and converts them to regexps.
env/types.go:150
↓ 2 callers
Method
Unwrap
Unwrap returns the wrapped error.
errctx/wrapped_error.go:89
↓ 2 callers
Function
VerifySourceNetwork
(addr string, config *Config)
fetcher/transport/generichttp/generic_http.go:70
↓ 2 callers
Method
Wait
Wait blocks until the latch is released.
asyncbuffer/latch.go:24
↓ 2 callers
Method
Wait
Wait waits for the reader to finish reading all data and returns the total length of the data read.
asyncbuffer/buffer.go:154
↓ 2 callers
Method
WaitFor
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 callers
Method
WatermarkPosition
()
processing/options.go:241
↓ 2 callers
Method
WatermarkXOffset
()
processing/options.go:245
↓ 2 callers
Method
WatermarkYOffset
()
processing/options.go:249
← previous
next →
401–500 of 1,844, ranked by callers