TCPDF error: Unsupported image type: jpg?w=227&h=244