img2pdf
Verified for current stable LTS
Img2pdf Command: Auto Orient Image And Set Page Size
Use for auto orient image and set page size with Img2pdf. Exact CLI syntax to auto orient image and set page size using Img2pdf.
When to use this: Use for auto orient image and set page size with Img2pdf.
Command Syntax
img2pdf <path/to/image.ext> --auto-orient --pagesize <A4^T> --border <2cm>:<5.1cm> --output <path/to/file.pdf> img2pdf <path/to/image.ext> --auto-orient --pagesize <A4^T> --border <2cm>:<5.1cm> --output <path/to/file.pdf> Command Breakdown
--auto-orient- Command Option
- Tool-specific option used by this command invocation.
--pagesize- Command Option
- Tool-specific option used by this command invocation.
--border- Command Option
- Tool-specific option used by this command invocation.
--output- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to auto orient image and set page size using Img2pdf.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Img2pdf Command: Convert First Frame Of Multi Frame Image To Pdf
img2pdf <path/to/file.gif> --first-frame-only --output <path/to/file.pdf> Img2pdf Command: Convert Image To Pdf With Metadata img2pdf <path/to/image.ext> --title <title> --author <author> --creationdate <1970-01-31> --keywords <keyword1 keyword2> --subject <subject> --output <path/to/file.pdf> Img2pdf Command: Convert Images To Single Pdf img2pdf <path/to/image1.ext path/to/image2.ext ...> --output <path/to/file.pdf> Img2pdf Command: Shrink Larger Images To Specific Dimensions img2pdf <path/to/image.ext> --pagesize <30cm>x<20cm> --imgsize <10cm>x<15cm> --fit <shrink> --output <path/to/file.pdf>