TCPDF error: Unsupported image type: jpeg?resize=533%2c300