I have a function is that
(NSArray *) getRGBsFromImage:(UIImage *)image atX:(int)xx andY:(int)yy count:(int) count {
NSMutableArray *result;
NSUInteger width=...;
NSUInteger height=...;
//algorithm
return result;
}
I'm implementing a function that
(NSArray *) convertRGBAsForBW: (NSArray *) grayscaleArray
{
// as input i have to access grayscale array..but this array gives me rgbvalues in an NSArray and also I have to implement image.size, height, width...
}
How can I implement it, calling function in function? and how can I access Image's size,height,width ??