最终选择方案,使用C#编写,使用PDFSharp工具处理PDF,源码地址:
laugh0608/PdfAddBlankPage: 使用 .NET8.0 写的一个在 PDF 中指定位置插入指定尺寸的空白页面的小程序。
使用截图: