node-red-contrib-pdf2bw
v1.0.1
Published
A Node-RED node to convert PDF to black and white PNG using Go
Downloads
6
Readme
pdf2bw
pdf2bw is a node-red node. This node allows you to convert a PDF file to black and white PNG images using a Go-based backend. You can configure the node to either save the PNG images to a specified directory or return them as Base64 encoded strings.
Inputs
- msg.path: The path to the PDF file to be converted.
Outputs
- payload: Depending on the configuration, this will either be a message indicating the location of the saved PNG files or an array of Base64 encoded PNG images.
Properties
- Name: An optional name for the node.
- Output Directory: The directory where PNG images will be saved if not returning Base64.
- Return Base64: If checked, the node will return the PNG images as Base64 encoded strings instead of saving them to the output directory.