TCPDF error: Unsupported image type: png?resize=1024%2c398&ssl=1