photoprism/internal/config/thumbnails.go
Michael Mayer 3cf1c699df Video: Refactor FFmpeg Transcoding Size Limit #3466 #3498 #3549
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-18 15:15:04 +02:00

16 lines
378 B
Go

package config
// ThumbSize represents thumbnail info for use in client apps.
type ThumbSize struct {
Size string `json:"size"`
Usage string `json:"usage"`
Width int `json:"w"`
Height int `json:"h"`
}
// ThumbSizes represents a list of thumbnail types.
type ThumbSizes []ThumbSize
// Thumbs is a list of thumbnails for use in client apps.
var Thumbs ThumbSizes