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
Blockquote
sc_pdf_image(‘…/_lib/img/logo.jpg’,‘15’,‘23’,‘45’,‘45’,’.jpg’);
This above works
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
@SC-Team, please provide us with the documentation of the “sc_pdf_xxxx()” macros (parameters list and return value).
Thanks a lot.