Is it possible to lower the resolution of already taken videos/pictures? I need to export low resolution videos/pictures.
Asked
Active
Viewed 102 times
1 Answers
0
U can use "scale" for it, i.e.: 0.5 for half-size
UIImage *ret = nil;
ALAsset *asset =[_assetImages objectAtIndex:page];
ALAssetRepresentation *defaultRep = [asset defaultRepresentation];
ret = [UIImage imageWithCGImage:[defaultRep fullScreenImage] scale:0.5 orientation:0];
You should also look at Joshua Sullivan's answere on: How to compress/resize image on iPhone OS SDK before uploading to a server?
This changes the reported size of the scaled image, but does not actually change the image data. The data length of the NSData generated on the original and the scaled image is virtually identical.

Community
- 1
- 1

nirvana002
- 75
- 1
- 7
-
But actually I need to lower the data size, so that upload process will be fast. Is it possible? – Advaith Nov 30 '13 at 07:28
-
Yes, with the answer of Sullivan. Just check the link. – nirvana002 Dec 03 '13 at 15:44