TCPDF error: Unsupported image type: jpg?w=1399&h=786&crop=1