Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

Remove-Pages throws index out of bounds if a single page is spezified, but not when a range is spezified

Open Christianthelongone opened this issue 2 years ago • 1 comments

If you specify a single page that should be deleted but is outside the PDF, an error message is displayed. However, if you specify a range that is outside the PDF, no error message is displayed.

Christianthelongone avatar Nov 11 '23 15:11 Christianthelongone

to clearify: PDF has 2 pages. pageNumbers = 3 -> throws an error pageNumbers = 3-4 (or 3-3) no error is thrown

In my opinion, no error should be thown and the PDF should be processed

Christianthelongone avatar Nov 11 '23 15:11 Christianthelongone

Should be fixed in latest versions

Frooodle avatar Mar 11 '24 23:03 Frooodle