Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

Filter → Page Rotation

AI-generated

Summary

Filter pages of a PDF by rotating them based on a comparison between their current rotation and a specified value.

Inputs

  • fileInputBinaryProperty — The name of the binary property containing the PDF file data; defaults to 'data' if not specified.
  • fileId — File ID referencing a server-side PDF file, used instead of file input for previously processed files in async mode.
  • comparator (required) — The comparison type ('Greater', 'Equal', or 'Less than') to compare each page's rotation against the specified rotation value.
  • rotation (required) — The rotation value in degrees used both for comparison and to set the new rotation on matching pages.
  • requestOptions — Additional options for the request such as batching parameters, SSL certificate validation, proxy settings, and request timeout.

Output shape

a single binary PDF file with pages filtered by rotation as per the comparator and rotation inputs

Outputs the filtered PDF as binary data in the specified output field. Supports processing input either as binary data or a server-side file reference. Optional batching can throttle processing when handling multiple inputs.

Links

Discussion