Recognise PDF images as well as PNG's etc.