Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ Swap
Method
Swap
vips/vips.go:428–430 ·
view source on GitHub ↗
(in *Image)
Source
from the content-addressed store, hash-verified
426
}
427
428
func
(img *Image) Swap(in *Image) {
429
img.VipsImage, in.VipsImage = in.VipsImage, img.VipsImage
430
}
431
432
func
(img *Image) IsAnimated() bool {
433
return
C.vips_image_is_animated(img.VipsImage) > 0
Callers
1
scaleOnLoad
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected