Post

Replies

Boosts

Views

Activity

Reply to Attaching color properties to CVPixelBufferRef
Attach them after the CVPixelBufferCreate call. The attributes dictionary that can be passed to CVPixelBufferCreate is just to setup the pixel format, not to attach other attributes. So call CVBufferSetAttachments after the CVPixelBuffer is created and set them. P.S.: modifying CVPixelBuffer attributes is quite expensive, do it only as needed.
3w
Reply to XCode26 and Icon Composer woes
Yes, there are some borders. So just make the image you insert into icon composer a bit smaller, and that's it. The colors look the same here, but it could be your original image hadn't a color profile assigned, and it looked differently on a DCI-P3 display. Assign a color profile before importing it in Icon Composer.
Nov ’25