Convert UIImage to CVImageBufferRef

后端 未结 6 720
旧时难觅i
旧时难觅i 2020-12-28 18:09

This code mostly works, but the resulting data seems to loose a color channel (is what I am thinking) as the resulting image data when displayed is tinted blue!

Here

6条回答
  •  长情又很酷
    2020-12-28 18:58

    It sounds like it might be that relationship. Possibly have it be a jpg and RGB instead of indexed colors with a png?

提交回复
热议问题