ReportPDF application: "Layout PDF/Code" section: sc_pdf_image() macro problem

Hi.

I found out an issue with the “sc_pdf_image()” macro. Or is it because I haven’t found anywhere the documentation about it.

Blockquote
$image_file = ‘…/_lib/img/logo.jpg’;
$this->Pdf->Image($image_file,‘15’,‘23’,‘45’,‘45’,’’,’’,’’,‘true’);

This above works :+1:

Blockquote
sc_pdf_image(‘…/_lib/img/logo.jpg’,‘15’,‘23’,‘45’,‘45’,’.jpg’);

This above works :+1:

Blockquote
$image_file = ‘…/_lib/img/logo.jpg’;
sc_pdf_image($image_file,‘15’,‘23’,‘45’,‘45’,’’,’’,’’,‘true’);
// or
sc_pdf_image($image_file,‘15’,‘23’,‘45’,‘45’,’.jpg’);

This above DOES NOT work :sleepy:

@SC-Team, please provide us with the documentation of the “sc_pdf_xxxx()” macros (parameters list and return value).

Thanks a lot.