Removing Image Borders using API