def crop_async(image_data, left_x, top_y, right_x, bottom_y, output_encoding=PNG, quality=None, correct_orientation=UNCHANGED_ORIENTATION, rpc=None, transparent_substitution_rgb=None):
 image = Image(image_data)
 image.crop(left_x, top_y, right_x, bottom_y)
 image.set_correct_orientation(correct_orientation)
 return image.execute_transforms_async(output_encoding=output_encoding, quality=quality, rpc=rpc, transparent_substitution_rgb=transparent_substitution_rgb)

def crop_async ( image_data , left_x , top_y , right_x , bottom_y , output_encoding = PNG , quality = None , correct_orientation = UNCHANGED_ORIENTATION , rpc = None , transparent_substitution_rgb = None ) : image = Image ( image_data ) image . crop ( left_x , top_y , right_x , bottom_y ) image . set_correct_orientation ( correct_orientation ) return image . execute_transforms_async ( output_encoding = output_encoding , quality = quality , rpc = rpc , transparent_substitution_rgb = transparent_substitution_rgb )
crop the given image - async version .