MCPcopy
hub / github.com/filebrowser/filebrowser / Resize

Method Resize

http/preview.go:28–28  ·  view source on GitHub ↗
(ctx context.Context, in io.Reader, width, height int, out io.Writer, options ...img.Option)

Source from the content-addressed store, hash-verified

26type ImgService interface {
27 FormatFromExtension(ext string) (img.Format, error)
28 Resize(ctx context.Context, in io.Reader, width, height int, out io.Writer, options ...img.Option) error
29}
30
31type FileCache interface {

Callers 2

TestService_ResizeFunction · 0.65
createPreviewFunction · 0.65

Implementers 1

Serviceimg/service.go

Calls

no outgoing calls

Tested by 1

TestService_ResizeFunction · 0.52