質問編集履歴

1

コードの追加

2021/05/01 15:55

投稿

downtowntown
downtowntown

スコア21

test CHANGED
File without changes
test CHANGED
@@ -17,6 +17,14 @@
17
17
 
18
18
 
19
19
  ```swift
20
+
21
+
22
+
23
+ let srcVideoTrackTransformedSize = AVAssetTrack.naturalSize.applying(AVAssetTrack.preferredTransform)
24
+
25
+ let srcVideoTrackRenderSize = CGSize(width: abs(srcVideoTrackTransformedSize.width), height: abs(srcVideoTrackTransformedSize.height))
26
+
27
+
20
28
 
21
29
  let filter = CIFilter(name: "CIPhotoEffectNoir")!
22
30