URL 매개 변수 image_id
을 기반으로 PNG 이미지를 생성하는 스크립트를 사용하고 있습니다. http://www.example.com/image.php?image_id=G554jGTT
URL의 Zend_Pdf_Image :: imageWithPath
지금 내가 그렇게 같은 PDF로 해당 이미지를 배치 할 : 예를 들어
$imagepath = "www.example.com/image.php?id=" . $id;
$image = Zend_Pdf_Image::imageWithPath($imagepath);
나는 모든 것이 잘 진행 로컬 파일을 사용하지만, 내가 URL을 사용할 때 다음과 같은 오류를 얻을 수
:Fatal error: Uncaught exception 'Zend_Pdf_Exception' with message 'Cannot create image resource. File not found.' in E:<...>\library\Zend\Pdf\Resource\ImageFactory.php:38
누군가가이 작업을 수행하는 방법을 알고 있나요?
감사합니다.