TCPDF error: Unsupported image type: jpg?w=512&h=288&crop=1