MCPcopy
hub / github.com/filebrowser/filebrowser / FormatFromExtension

Method FormatFromExtension

http/preview.go:27–27  ·  view source on GitHub ↗
(ext string)

Source from the content-addressed store, hash-verified

25
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

Callers 3

FormatFromExtensionMethod · 0.65
handleImagePreviewFunction · 0.65

Implementers 1

Serviceimg/service.go

Calls

no outgoing calls

Tested by 1