I am not able to use the sign function to add an image to a pdf file. Below is what I am using to try to output a new pdf file with an image. The file this is output has a working certificate, but the image does not show anywhere. I have tried default AccessPermission of 2 and tried to force 3, but nothing seems to work and I am not getting any errors.
$sign->sign('../../webtemp/output.pdf',[
'x' => '10',
'y' => '10',
'w' => '90',
'h' => '66',
'accessPermission' => '3'],[
'x' => '10',
'y' => '10',
'w' => '90',
'h' => '66',
'src' => '/var/www/webtemp/image.png']);