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

Method LineCache

vips/vips.go:401–410  ·  view source on GitHub ↗
(lines int)

Source from the content-addressed store, hash-verified

399}
400
401func (img *Image) LineCache(lines int) error {
402 var tmp *C.VipsImage
403
404 if C.vips_linecache_seq(img.VipsImage, &tmp, C.int(lines)) != 0 {
405 return Error()
406 }
407
408 img.swapAndUnref(tmp)
409 return nil
410}
411
412func (img *Image) Arrayjoin(in []*Image) error {
413 var tmp *C.VipsImage

Callers

nothing calls this directly

Calls 2

swapAndUnrefMethod · 0.95
ErrorFunction · 0.70

Tested by

no test coverage detected