resized images and changed jpg to png