Converts a given pdf to the desired images
Allows an easy and simple way to choose multiple positions using a string or an array with the desired rules.