-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
hi,On iPhone running iOS 18.7, the app crashes after taking a photo due to excessive memory usage during the format conversion process.
public static func extractJPEG(from inspURL: URL) ->String{
let ins = INSExportImageSimplify()
if let size = getInsta360InspResolution(from: inspURL) {
debugLog("reslotion → \(size)")
ins.width = Int32(size.width)
ins.height = Int32(size.height)
}
ins.colorFusion = true
let docs = FileManager.default.temporaryDirectory
let output = docs.appendingPathComponent("\(UUID().uuidString).jpg")
ins.exportImage(withInputUrl: inspURL, outputUrl: output)
debugLog("output → \(output.path)")
return output.path
}
Metadata
Metadata
Assignees
Labels
No labels