Users Pricing

forum

Home Forums How to Convert matrix to UIImage? – MindStick

How to Convert matrix to UIImage?

Pravesh Singh 2269 17 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


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md