photoprism/internal/entity/file_metadata.go
Michael Mayer c6bb28f60d Videos: Refactor File.UpdateVideoInfos() method #926 #3588 #3559
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-18 09:12:38 +02:00

20 lines
508 B
Go

package entity
// FileDimensions represents metadata related to the size and orientation of a file.
// see File.UpdateVideoInfos()
type FileDimensions struct {
FileWidth int
FileHeight int
FileOrientation int
FileAspectRatio float32
}
// FileAppearance represents file metadata related to colors, luminance and perception.
// see File.UpdateVideoInfos()
type FileAppearance struct {
FileMainColor string
FileColors string
FileLuminance string
FileDiff int
FileChroma int16
}