TCPDF error: Unsupported image type: jpg?w=1024&h=541