Skip to content

Commit

Permalink
Merge pull request #6 from Eskils/develop
Browse files Browse the repository at this point in the history
DitheringEngine 1.6.3
  • Loading branch information
Eskils authored Jan 3, 2024
2 parents 1eec8e2 + 2c996d3 commit 35f84a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/Eskils/DitheringEngine",
.upToNextMinor(from: "1.6.2") // or `.upToNextMajor
.upToNextMinor(from: "1.6.3") // or `.upToNextMajor
)
],
targets: [
Expand Down
1 change: 1 addition & 0 deletions Sources/DitheringEngine/Video/VideoDescription.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public struct VideoDescription {
/// Reads the first frame in the video as an image.
public func getPreviewImage() async throws -> CGImage {
let assetImageGenerator = AVAssetImageGenerator(asset: asset)
assetImageGenerator.appliesPreferredTrackTransform = true
let time = CMTime.zero

if #available(iOS 16, macCatalyst 16, *) {
Expand Down

0 comments on commit 35f84a4

Please sign in to comment.