Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2022, 09:56 PM   #1
MarjaE
Guru
MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.
 
Posts: 924
Karma: 53902736
Join Date: Jun 2015
Device: multiple
How can I split up different-sized pages?

I need to split some pages of a pdf into 5 vertical sections, and other pages into 4 overlapping quadrants.

I've looked online, but however I try to word it, all the results are about splitting *between* pages, not splitting the pages...

I am using Mac OS 10.14.6, and have brew, ghostscript, k2pdfopt, the free part of cpdf, qpdf, etc. as well as Mac-specific view and conversion apps. I tend to use Automator with bash shell scripts for conversion, so don't know much about the guis for k2pdfopt.

I know there's PdfCropper, but i looks like it's specifically for Windows.
MarjaE is offline   Reply With Quote
Old 09-22-2022, 05:46 AM   #2
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,096
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
I think ImageMagick works on all platforms.
Say you have three columns?
Run it 3 times with different margin settings.
Note on Linux (and maybe Mac) the default security forbids PDF. Reading & writing PDF has different settings. I only enable writing and use The GIMP to convert a PDF at desired resolution to a stack of images then Exported in reverse order as mpng (animated png) for ImageMagick to read.

For quadrants you read the same source 4 times with different margins.
Quoth is offline   Reply With Quote
Old 09-23-2022, 04:28 PM   #3
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
This is exactly what the -grid option in k2pdfopt is for. You can use it for both of the things you wanted to do.
willus is offline   Reply With Quote
Old 09-23-2022, 05:57 PM   #4
MarjaE
Guru
MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.
 
Posts: 924
Karma: 53902736
Join Date: Jun 2015
Device: multiple
Thanks. With k2, I'd have to run different grid settings for every few pages.
MarjaE is offline   Reply With Quote
Old 09-23-2022, 10:35 PM   #5
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by MarjaE View Post
Thanks. With k2, I'd have to run different grid settings for every few pages.
That's correct. You could specify the pages you want to convert with the -p option for each set and then join them with something like cpdf or qpdf.
willus is offline   Reply With Quote
Old 09-24-2022, 10:16 AM   #6
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,096
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by willus View Post
This is exactly what the -grid option in k2pdfopt is for. You can use it for both of the things you wanted to do.
Yes, that too and may be simpler than ImageMagick which while powerful is a bit arcane. For some reason I thought it was only for Windows. My bad.
https://willus.com/k2pdfopt/download/
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classic Split PDF pages into smaller pages (images into tiles) Astro Barnes & Noble NOOK 4 06-12-2020 10:56 AM
Unable to Insert or Split Pages ChrisI Sigil 14 02-14-2018 03:36 PM
Tool to split up double pages fodiator iRex 27 03-21-2012 09:03 AM
How do I split two pages into one? Christopher888 PDF 4 11-20-2010 02:21 PM
Split pdf pages down the middle Blue_Alien Calibre 3 08-15-2010 11:12 PM


All times are GMT -4. The time now is 07:24 PM.


MobileRead.com is a privately owned, operated and funded community.