TCPDF error: Unsupported image type: png?resize=1024%2c682