photoprism/pkg/fs/codec.go
Michael Mayer 68ba289d6c CLI: Add "photoprism show config/formats" subcommands
Replaces "photoprism config", which could only display
current configuration values. Codecs and file formats
have been refactored along the way.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-12 13:28:28 +02:00

16 lines
244 B
Go

package fs
import (
_ "image/gif" // Import for image.
_ "image/jpeg"
_ "image/png"
)
type FileCodec string
const (
CodecAVC FileCodec = "avc1"
CodecHEVC FileCodec = "hvc1"
CodecAV1 FileCodec = "av01"
CodecJpeg FileCodec = "jpeg"
)