Generate video thumbnails

This commit is contained in:
Christoph Hagen
2025-01-25 22:14:31 +01:00
parent 200fdc813d
commit 06b4c1ed76
10 changed files with 254 additions and 54 deletions

View File

@ -28,7 +28,7 @@ struct OptionalImagePropertyView: View {
}
if let image = selectedImage {
image.imageToDisplay
(image.imageToDisplay ?? Image(systemSymbol: .exclamationmarkTriangle))
.resizable()
.aspectRatio(contentMode: .fit)
.frame(maxHeight: 300)