Anonymous | Login | Signup for a new account | 09-07-2024 17:12 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | ||||||||
Status | feedback | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Fixed in Version | Product Version | |||||||||
Product Build | ||||||||||||
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. |
|||||||||||
Steps To Reproduce | ||||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
37 total queries executed. 30 unique queries executed. |