forum

Home / DeveloperSection / Forums / How to Convert matrix to UIImage?

How to Convert matrix to UIImage?

Pravesh Singh185317-Oct-2014

I need to convert a matrix representing a b/w image to UIImage.

For example:

A matrix like this (just the representation). This image would be the symbol +'

001

110

0101

This matrix represents an image in black and white, where black is 0 and white is 1. I need to convert this matrix to UIImage. In this case width would be 3 and height would be 3


Updated on 17-Oct-2014

Can you answer this question?


Answer

1 Answers

Liked By