Hi, is it posible to do that?:
because I got 4 as answer so I think it's a pointer.
How could I get an image size if I don't have the path yet?
I've seen:
but I need the size before the image is saved.
Thaks for your help.
Code:
NSLog(@"SIZE OF IMAGE: %d ", sizeof(UIImageJPEGRepresentation((imageView.image), 0.5)));
because I got 4 as answer so I think it's a pointer.
How could I get an image size if I don't have the path yet?
I've seen:
Code:
- (NSDictionary *)attributesOfItemAtPath:(NSString *)patherror:(NSError **)error
but I need the size before the image is saved.
Thaks for your help.