The specific structure of array is: first number= count of bytes, second number= width, third number= height, after these are 3 numbers for RBG for all of pixels.
Can I use a class or a method in iPhone SDK to convert these bytes to UIImage? Or do I have to write a function, which draw a picture from the byte array?