Browse Source

图片 sticker 直接使用 uiimage 传值

jsonwang 3 years ago
parent
commit
e400bfa9f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BFRecordScreenKit/Classes/BFRecordExport.swift

+ 1 - 1
BFRecordScreenKit/Classes/BFRecordExport.swift

@@ -143,7 +143,7 @@ public class BFRecordExport {
         }
 
         let sticker = splitBaseMaterial(timelineIn: totalDur, model_in: 0, duration: duration)
-        sticker.originalData = itemModel.coverImg?.pngData()
+        sticker.originalUImage = itemModel.coverImg
         sticker.volumeGain = 0
         sticker.type = StickerType.IMAGE.rawValue
         videoStickers.append(sticker)