only normalize .jpg files