There are a lot of wallpapers and there is an application, you need to crop each image without compressing, but removing the extra pixels on the left and right, in addition, you need to make all the images under the format mdpi hdpi xhdpi xxhdp xxxhpi. But how to automate all this?