Post

Replies

Boosts

Views

Activity

Comment on CIImageProcessorKernel using Metal Compute Pipeline error
On iOS, there is a watch dog that kills processes on the GPU that run too long. I don't think there is much you can do to change the timing limit. The only way to prevent that is to improve the runtime of your algorithm. You could also try splitting up the work into multiple steps, if possible. E.g., by splitting up the images into regions and performing the regression on the regions first, and then once more on the results of step one.
Topic: Graphics & Games SubTopic: Metal Tags:
Aug ’24
Comment on Is OpenEXR supported
Can you please try creating a larger image (16x16, for instance) and try again? I was also observing strange behavior (see above) for small EXR images. It would be interesting if these issues are related.
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’21
Comment on develop app in Europe using image playground
What device did you test on? The trick only works on iPad, not on iPhone and also not on the Simulator (not even in supported countries). It also has to be an iPad that supports Apple Intelligence (M1 or newer).
Replies
Boosts
Views
Activity
Jan ’25
Comment on Image Playground not available for "Designed for iPad" apps?
Tested with macOS 15.2 RC 2.
Replies
Boosts
Views
Activity
Dec ’24
Comment on CIImageProcessorKernel using Metal Compute Pipeline error
On iOS, there is a watch dog that kills processes on the GPU that run too long. I don't think there is much you can do to change the timing limit. The only way to prevent that is to improve the runtime of your algorithm. You could also try splitting up the work into multiple steps, if possible. E.g., by splitting up the images into regions and performing the regression on the regions first, and then once more on the results of step one.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on IOSurface vs. IOSurfaceRef on Catalyst
Thanks for the reply! I already filed FB14074014 for this. I also attached a small sample project now.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Comment on Lossy option has no effect when exporting PNG to HEIF
Did you already file Feedback for this issue?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’24
Comment on TipKit not showing via TestFlight
Do you have any advanced tips setup? How are you calling Tips.configure()?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Comment on Issues with new MLE5Engine in Core ML
Via a private property on MLModelConfiguration: config.setValue(1, forKey: "experimentalMLE5EngineUsage") (1 = disabled, 0 = enabled if possible, 2 = force).
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on CIColor.init(color: UIColor) not working properly on macOS 14 Catalyst
Very strange indeed. The workaround works, thanks!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on Unable to change Photos permission of iPad app on Mac
Thanks for the reply, Quinn! Unfortunately, the issue still exists – even with the release version of 13.4.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on Core ML model execution sometimes fails under load
Done: FB11650654 Thanks for your help!
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on Adding HDR Gain Map to HEIF/JPEG manually
@miric2 How did you find the -CustomRenderer tag? When I set it, Photos still doesn't show the HDR badge.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on Allow 16-bit RGBA image formats as input/output of MLModels
Thank you! Yes, this is filed under FB10151072.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Passing MTLTexture to Metal Core Image Kernel
Correct. But it also creates a Metal context by default if you just use CIContext(). You would need to have a Metal-based context anyways if you want to use Metal Core Image kernels.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Create Tone Curve Filter in CoreImage
To sample in the middle of the pixel. For instance, if your sampler would use linear sampling, the coordinate 1.0 would return a mix of the first and the second pixel since it's between those pixels. 1.5 would only return the color value of the second pixel.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Is OpenEXR supported
Can you please try creating a larger image (16x16, for instance) and try again? I was also observing strange behavior (see above) for small EXR images. It would be interesting if these issues are related.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21