Converts encoded image bytes into a one-page PDF (one page showing the image), returning the PDF bytes. The temporary document is disposed before returning, so the result is a standalone PDF that can be opened by any engine.
The engine value (PdfrxEngine).
The binary data to process.
Optional
The imageDecoder value (PdfImageDecoder).
The resulting Promise.
Converts encoded image bytes into a one-page PDF (one page showing the image), returning the PDF bytes. The temporary document is disposed before returning, so the result is a standalone PDF that can be opened by any engine.