pdf-ripper icon indicating copy to clipboard operation
pdf-ripper copied to clipboard

Different Page Sizes

Open ckyat opened this issue 3 years ago • 3 comments

Hi, firstly i wld like to thank you for coming up with this code, it is currently running on my mac. However, i have an issue whereby my bibliu book has different sized page... i dont think it will turn out as expected.. do you have any solution for this? Appreciate it!

ckyat avatar Oct 08 '22 09:10 ckyat

Hmmm, all of the pages in my textbooks were the same size so I didn't run into this problem. You could make the screenshot area large enough that all of the pages will fit inside of it and then crop the smaller pages manually after?

I just uploaded a new GUI version of the PDF ripper to make it easier to use btw: gui_screenshot

Maybe a cool feature would be to add a toggle button which enables automatically cropping whitespace around the outside after each screenshot? That way each page would come out to be the correct size in the PDF? Might be relatively tough though because often the next page would end up within the screenshot area... Would need some sort of logic to determine where the prior page ends in a screenshot if there are 2 pages in the screenshot area.

Might tackle it eventually if I'm bored but it probably won't be in the near future.

jalexw avatar Oct 13 '22 04:10 jalexw

Quick diagram of what such a feature would do: PDF Ripper Feature Suggestion

jalexw avatar Oct 13 '22 04:10 jalexw

I believe the issue would be getting the desired resolution size for the cropping as the bibiliu has a tendency to have overlapping pages in the current view of the browser/desktop window, and I have experienced some of the screenshots missing a portion of the overlapped pages. It's easily overlooked unless you do a manual scrub on all the final individual pages.

Mikhael913 avatar Nov 01 '22 15:11 Mikhael913