 <p>In your code change <code>NSData *dataForJPEGFile = UIImageJPEGRepresentation(mimage, 1.0);</code> to </p> <p>NSData *dataForJPEGFile = UIImageJPEGRepresentation(mimage, 0.5);</p> <p>This code 0.5 means 50% of your image will compress.</p> <pre><code> - (void)saveImageToDocumentsDirectory:(UIImage *)mimage withFileName:(NSString *)fileName { NSData *dataForJPEGFile = UIImageJPEGRepresentation(mimage, 0.5); [dataForJPEGFile writeToFile:[self getDirectoryFilePath:fileName] atomically:YES]; } </code></pre>