Added coordinate extraction to the UIImage category.