Splice images for iOS memory limits