Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2022, 10: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: 893
Karma: 53902736
Join Date: Jun 2015
Device: Iriver Story HD, Amazon Kindle 5, and Amazon Kindle DX
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, 06: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: 5,967
Karma: 48016271
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
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, 05: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,226
Karma: 10082256
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, 06: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: 893
Karma: 53902736
Join Date: Jun 2015
Device: Iriver Story HD, Amazon Kindle 5, and Amazon Kindle DX
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, 11: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,226
Karma: 10082256
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, 11: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: 5,967
Karma: 48016271
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:56 AM
Unable to Insert or Split Pages ChrisI Sigil 14 02-14-2018 04:36 PM
Tool to split up double pages fodiator iRex 27 03-21-2012 10:03 AM
How do I split two pages into one? Christopher888 PDF 4 11-20-2010 03:21 PM
Split pdf pages down the middle Blue_Alien Calibre 3 08-16-2010 12:12 AM


All times are GMT -4. The time now is 06:25 AM.


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