Try something like this:
CGImageRef imageRef = CGImageCreateWithImageInRect([largeImage CGImage], cropRect);
image = [UIImage imageWithCGImage:imageRef];
CGImageRelease(imageRef);
Note: cropRect is smaller rectangle with middle part of the image…
More Related Contents:
- How to show Image over Map not as Pin but as seperate image? [duplicate]
- Get Pixel color of UIImage
- How to know the image size after applying aspect fit for the image in an UIImageView
- How can I ‘cut’ a transparent hole in a UIImage?
- didFinishPickingMediaWithInfo return nil photo
- Resizing UIimages pulled from the Camera also ROTATES the UIimage?
- Any quick and dirty anti-aliasing techniques for a rotated UIImageView?
- Finding image type from NSData or UIImage
- iOS: Image get rotated 90 degree after saved as PNG representation data
- How does one compare one image to another to see if they are similar by a certain percentage, on the iPhone?
- How do I use the NSString draw functionality to create a UIImage from text
- UIImage resize (Scale proportion) [duplicate]
- Is programmatically inverting the colors of an image possible?
- Changing UIImage color
- CGImage/UIImage lazily loading on UI thread causes stutter
- NSData to UIImage
- How to tint a transparent PNG image in iPhone?
- Draw another image on a UIImage
- UIImage Saving image with file name on the iPhone
- Howe to capture UIView top UIView
- Get size of a UIImage (bytes length) not height and width
- How to create an image from UILabel?
- Save Photos to Custom Album in iPhones Photo Library
- Catching error: Corrupt JPEG data: premature end of data segment
- UIImage imageNamed requires pathForResource?
- Making a UIImage to a circle form
- iPhone, “More than maximum 5 filtered album lists trying to register. This will fail.” Error
- UIImageWriteToSavedPhotosAlbum save as PNG with transparency?
- Need to capture UIView into a UIImage, including all subviews
- How to attach Image with message via iPhone application?