This is happening because the AI file is read by the PDF coder. I will have to see if I can tweak this that it will report AI instead of PDF as the format. Can you allow me to use the file you provided in a unit test if I can tweak the code of ImageMagick?