[swift-users] How do I turn an array into a bitmap image?

Nevin Brackett-Rozinsky nevin.brackettrozinsky at gmail.com
Thu Mar 16 14:03:44 CDT 2017


Thanks Brent, that helps a lot.

I eventually found a site (here <http://flylib.com/books/en/3.310.1.43/1/>
if anyone’s interested) that describes (albeit in Objective-C) how to make
a CGImage from a byte buffer through the use of CGDataProvider. Hopefully
I’ll be able to put the pieces together in Swift now.

Thanks again,

Nevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170316/c6c957a2/attachment.html>


More information about the swift-users mailing list