MCPcopy
hub / github.com/opencloud-eu/opencloud / Encode

Method Encode

services/thumbnails/pkg/thumbnail/encoding.go:24–24  ·  view source on GitHub ↗

Encode encodes the image to a format.

(w io.Writer, img any)

Source from the content-addressed store, hash-verified

22type Encoder interface {
23 // Encode encodes the image to a format.
24 Encode(w io.Writer, img any) error
25 // Types returns the formats suffixes.
26 Types() []string
27 // MimeType returns the mimetype used by the encoder.

Callers 15

persistCertificateFunction · 0.65
persistKeyFunction · 0.65
addQueryToURLMethod · 0.65
parseWopiDiscoveryFunction · 0.65
createDownloadURLMethod · 0.65
createAvatarURLMethod · 0.65
addURLParamsFunction · 0.65
createAppExternalURLFunction · 0.65
generateWOPISrcMethod · 0.65
convertToUtf7Function · 0.65

Implementers 3

PngEncoderservices/thumbnails/pkg/thumbnail/enco
JpegEncoderservices/thumbnails/pkg/thumbnail/enco
GifEncoderservices/thumbnails/pkg/thumbnail/enco

Calls

no outgoing calls

Tested by

no test coverage detected