The system Camera app offers jpeg XL selection for ProRAW format. I found the "static let JPEGXL: AVVideoCodecType" in the documentation but how do you specify it for a 3rd party app?
Would it be a replacement for using the .availableRawPhotoPixelFormatTypes?
Post
Replies
Boosts
Views
Activity
Prior Xcodes had a very useful function called "sort & unique" that was found under "services" in the contextual menu in the source editor. The new Xcode 16 betas seems to have had this removed, or perhaps it's been moved to a new menu. Does anyone know about this?
Thanks!
Unlike Xcode 15 where it's easy in source control to type in a commit message and then do the actual commit in git, in Xcode 16 there doesn't seem to be anywhere to do this.
Yes, in the beta I can do a menu select to go to 'commit changes...', and I found the new way to stage changes. So far so good. But where is the 'commit' button to complete a commit?
Is anyone else finding this an issue?
Is there a simpler way to determine if a device's telephoto camera has a 2.0x, 2.5x or the new 3.0x lens, rather than having to check that the device is a iPhone 12 Pro Max or a 13 Pro?
Many thanks!
I have the following code:
let ciImage = filterAndRender(ciImage: inputImage, doCrop: true)
let outCGImage = ciContext.createCGImage(ciImage, from: ciImage.extent)!
let dest = CGImageDestinationCreateWithURL(output.renderedContentURL as CFURL, kUTTypeJPEG, 1, nil)!
CGImageDestinationAddImage(dest, outCGImage, [kCGImageDestinationLossyCompressionQuality as String:1] as CFDictionary)
CGImageDestinationFinalize(dest)
I get the following caution: " 'kUTTypeJPEG' was deprecated in iOS 15.0: Use UTTypeJPEG instead."
However, when I substitute 'UTTypeJPEG' as directed, I get this error:
"Cannot find 'UTTypeJPEG' in scope"
What should I use for kUTTypeJPEG instead?
Thanks!