TCPDF error: Unsupported image type: gif?w=312&h=320