Anonymous | Login | Signup for a new account | 11-21-2024 21:38 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0004642 | [Quercus] | minor | always | 06-27-11 10:37 | 07-06-11 14:23 | |||||||
Reporter | rickHigh | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | feedback | Product Version | ||||||||||
Summary | 0004642: Problem displaying images with PDFLib | |||||||||||
Description |
I would expect this to work. $logo = $pdf.load_image("auto", "images/caucho-logo.png", ""); if ($logo == -1) throw new Exception("Error: " + $pdf.get_errmsg()); $pdf.fit_image($logo, 50.0, 500.0, ""); $pdf.close_image($logo); It does not work and it does not display anything. If it could not find the image, the expectation is that it would return -1 as per PDFLib documents. I also tried this: $logo = $pdf.load_image("auto", "random_text_that_is_not_a_real_image.jpg", ""); if ($logo == -1) throw new Exception("Error: " + $pdf.get_errmsg()); $pdf.fit_image($logo, 50.0, 500.0, ""); $pdf.close_image($logo); I would expect the above to throw an exception. It does not. |
|||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
37 total queries executed. 30 unique queries executed. |