Actions260
- Admin Job Management Actions
- Admin License Management Actions
- Admin Server Certificate Actions
- Admin Settings Actions
- AI Tools Actions
- Analysis Actions
- Audit Actions
- Authentication Actions
- Convert Actions
- Convert Ghostscript Inputs To Pdf
- Url To Pdf
- Convert Json To Pdf
- Convert Svg To Pdf
- Process Pdf To XML
- Pdf To Excel
- Process Pdf To Word
- Convert Pdf To Vector
- Process Pdf To RT For TXT
- Convert Pdf To Json
- Export Partial Pdf
- Extract Pdf Metadata
- Clear Cache
- Process Pdf To Presentation
- Pdf To Pdf A
- Process Pdf To Markdown
- Convert To Image
- Process Pdf To HTML
- Convert Pdf To Epub
- Pdf To Csv
- Convert Pdf To Cbz
- Convert Pdf To Cbr
- Markdown To Pdf
- Convert To Pdf
- Html To Pdf
- Process File To PDF
- Convert Eml To Pdf
- Convert Ebook To Pdf
- Convert Cbz To Pdf
- Convert Cbr To Pdf
- Extract Single Page
- Extract Page Fonts
- Database Actions
- File Storage Actions
- Filter Actions
- Forms Actions
- General Actions
- Info Actions
- Invite Actions
- Job Management Actions
- Misc Actions
- Metadata
- Unlock PDF Forms
- Extract Header
- Scanner Effect
- Replace And Invert Color
- Repair Pdf
- Rename Attachment
- Remove Blank Pages
- Process Pdf With OCR
- List Attachments
- Flatten
- Extract Images
- Extract Image Scans
- Extract Attachments
- Delete Attachment
- Decompress Pdf
- Optimize Pdf
- Auto Split Pdf
- Extract Header 1
- Add Stamp
- Add Page Numbers
- Overlay Image
- Add Comments
- Add Attachments
- Pipeline Actions
- Proprietary UI Data Actions
- Saved Signatures Actions
- Security Actions
- Signature Assets Actions
- Signing Sessions Actions
- Team Actions
- UI Data Actions
- User Actions
- Workflow Participant Actions
Misc → Replace And Invert Color
AI-generatedSummary
Transform a PDF's colors by applying specified replace and invert options, optionally processing input from a binary file or referencing a server-side file ID.
Inputs
- Input Binary Field Name (File Input) — Name of the binary property containing the PDF file data to process. Defaults to 'data' if not specified.
- File Id — Identifier for a server-side PDF file to process, used instead of binary input for async-prepared files.
- Replace And Invert Option (required) — Specifies the color transformation to apply to the PDF. Options include HIGH_CONTRAST_COLOR, CUSTOM_COLOR, FULL_INVERSION, and COLOR_SPACE_CONVERSION.
- High Contrast Color Combination (required) — When using HIGH_CONTRAST_COLOR option, selects the default text and background color combination such as WHITE_TEXT_ON_BLACK or BLACK_TEXT_ON_WHITE.
- Back Ground Color — If CUSTOM_COLOR option is selected, defines the background color as a 24-bit decimal color value.
- Text Color — If CUSTOM_COLOR option is selected, defines the text color as a 24-bit decimal color value.
Output shape
a processed PDF file with inverted or replaced colors, returned in the node's output binary data
Requires either an input binary file (specified by Input Binary Field Name) or a File Id referencing a server-stored PDF. Processing respects the selected replace and invert option and related color parameters. Output replaces or modifies the input PDF color accordingly.
Examples
Example 1: Invert the colors of a PDF file loaded as binary data to improve readability in dark mode.
Set Input Binary Field Name to the incoming binary property name, choose FULL_INVERSION as Replace And Invert Option. Skip custom color fields.
Example 2: Convert a PDF's colors to a high contrast white text on black background using a server-side stored PDF file.
Provide the File Id, select HIGH_CONTRAST_COLOR and choose WHITE_TEXT_ON_BLACK for the High Contrast Color Combination.
Example 3: Apply custom text and background colors to a PDF for branding purposes.
Set Replace And Invert Option to CUSTOM_COLOR, specify Back Ground Color and Text Color as 24-bit decimal values, provide PDF input via binary or File Id.