Closed vladrevers closed 5 months ago
In a pdf viewer, this problem is as follows (text in screenshot is intentionally blurred):
@coderabbitai review
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
If you find a reliable way to programmatically get the page sizes feel free to reopen a pull request.
Alternatively, you could make a pull request to add a parameter to the command that can override the page size to a chosen value.
Looked now and this problem is no longer reproduced, maybe the img2pdf library has been updated.
Before the change: if a book contains pages of different file extensions (png and jpeg, with the same resolution), in the output pdf these pages differ significantly in size.
Summary by CodeRabbit