Working on Resizing image with Formats