You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$output = '/tmp/image'; // Important not to have extension.$pdf = newPdf($pathToPdf);
$pdf->save($output);
info(file_exists($output) ? 'Yes it exists' : 'no it does not exist'); // prints: no it does not exist
You can get the paths from the method return, but when generating the screenshot of a single page I would expect to be saved on an exact location that was passed as an argument.
Use case: when we don't care about output because it is just a temporary step before it is uploaded to the remote storage.
The text was updated successfully, but these errors were encountered:
The following behavior can be confusing:
You can get the paths from the method return, but when generating the screenshot of a single page I would expect to be saved on an exact location that was passed as an argument.
Use case: when we don't care about output because it is just a temporary step before it is uploaded to the remote storage.
The text was updated successfully, but these errors were encountered: