ImageMagick shouldn't consider pdf as images