Getting image sizes in parallel