-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image not working in 11g #2
Comments
Hi, |
I am also having this same issue with images. Fri, 16 Oct 2015 19:09:20 GMT
Failed to execute target procedure ORA-20100: <B>PL_FPDF error: </B>image : ORA-20100: <B>PL_FPDF error: </B>p_parseImage : ORA-20100: <B>PL_FPDF error: </B>Not a PNG file: http://www.chemeketa.edu/global_files/images/gen/social/facebook1-trans.png
ORA-06512: at "BANINST1.PL_FPDF", line 1948
ORA-06512: at "BANINST1.PL_FPDF", line 3322
ORA-06512: at "BANINST1.RECOGNITION_TEST", line 20
ORA-06512: at line 33 I modified the png_signature and signature_len variables because I noticed tha it wasn't matching what is at the tops of PNG files, looks like it need two more CHR(26) and the char length increased from 8 to 10
Do you have any ideas why this is an issue in 11g ? |
I tried every option but it doesn't work for me. I'm using as_pdf3 open source to generate PDFs. |
I'm trying the as_pdf3 but I keep getting an invalid path error when I put I could get the pl_fpdf to at least work, just not with images. |
pl_fpdf working fine without image, But if you really need image on PDF than only option is as_pdf3. If you search for p_dir and replace the directory name to your oracle directory, hope it will work fine for you. p_dir varchar2 := 'Oracle Directory' |
Is it trying to save to the database? |
For your test you can store in the blob column, for browser you can use as_pdf3.output begin select * |
I do not see this procedure anywhere in the package. as_pdf3.output doesn't exist in what I downloaded from here https://github.com/mortenbra/alexandria-plsql-utils/tree/master/extras Is there more that I need to install other than the first two pks and pkb files? |
Add this code to your as_pdf3 package spec and body. procedure output (pb_file blob); procedure output (pb_file blob) is lb_file blob; |
For Browser... procedure proc_run_report |
Thank you szamrud... You Rock Sir! |
Using pl_fpdf I'm able to put image in 10g environment on PDF reports, but when I try the same code in 11g I start getting the error message. look like image part of the code is not working in 11g. Any one has any idea or any solution.
procedure testImg is
img varchar2(2000);
begin
FPDF('P','cm','A4');
openpdf;
AddPage();
SetFont('Arial','B',16);
img := 'http://www.lcw-design.com/jpgAutoc/sigle1.jpg';
Image(img,1, 1, 10);
pl_fpdf.output ();
end testImg;
The text was updated successfully, but these errors were encountered: