Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2010, 10:55 AM   #16
toscadera
Enthusiast
toscadera has a complete set of Star Wars action figures.toscadera has a complete set of Star Wars action figures.toscadera has a complete set of Star Wars action figures.toscadera has a complete set of Star Wars action figures.
 
Posts: 44
Karma: 366
Join Date: Mar 2010
Device: Sony 600, Entourage Edge (soon...)
Hello there,

how about cutting a 2-page scanned pdf into two single pages? And then remove the white space? For Mac, no command line, and preferably free

cheers
k
toscadera is offline   Reply With Quote
Old 04-26-2010, 02:26 PM   #17
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Quote:
how about cutting a 2-page scanned pdf into two single pages? And then remove the white space? For Mac, no command line, and preferably free
You don't ask for much, do you?

I think PDFRead might be your best bet in this case. But I have little experience with macs.

Quote:
Originally Posted by roger64 View Post
Well, English is not my native language, as you strongly suspect. Let's try "a special tick-box for removing white space" (see the lower part of the attachment below, a screenshot from Acrobat 7)
Yeah, that won't result in a "real" crop, but it'll be fine for the Sony Reader probably. Not a free solution, though.

Last edited by frabjous; 04-26-2010 at 02:29 PM.
frabjous is offline   Reply With Quote
Old 04-27-2010, 06:52 AM   #18
droople
Connoisseur
droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.droople has a complete set of Star Wars action figures.
 
droople's Avatar
 
Posts: 95
Karma: 388
Join Date: Jan 2010
Device: Nook,Nook Simple Touch, Nook Color
Quote:
Originally Posted by frabjous View Post
The programs I mentioned and linked to will automatically calculate the whitespace and remove all the whitespace possible. If all you're cutting out is whitespace, and you don't want to leave any behind, there shouldn't be an issue.

If you want to leave any whitespace there, or you want to crop out non-empty parts of the page, things get more complicated. I give some input on doing that with calibre's pdfmanipulate program in one of the threads I linked to, but without a GUI you just have to use trial and error, or measure what you need to crop.

SoPDF is a commandline program, but there are two simple GUI wrappers for it for windows. One I wrote, which you'll find you go far enough in the thread. Another Nathan Campos wrote, which you'll find if you search the forums here at Mobileread. His is nice because it shows any errors you get in the window, but mine has some other nice features (though I'm biased). (I don't personally use either, since I don't use Windows anymore.)

If I recall correctly it's the -m3 or "Fit Height" option that will only crop, not split the pages.

There are different levels of "leaving the rest behind" vs. cropping. Adobe Acrobat's cropping feature for example, just inserts a command for hiding portions of the page which is not respected by non-Adobe PDF viewers. The methods I've listed do better than that; they do genuinely resize the page. However, they don't fully remove elements that get cropped out if you're removing more than just whitespace; they just aren't shown. If all you're cropping is whitespace, however, there's no difference.
Thank you frabjous

I will looking for GUI wrappers
droople is offline   Reply With Quote
Old 04-27-2010, 04:42 PM   #19
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by frabjous View Post
Yeah, that won't result in a "real" crop, but it'll be fine for the Sony Reader probably. Not a free solution, though.
Your information above (which is correct) surprised me and at the same time explained why loading a so-called "cropped" page took so long on my Sony, much longer than for an average PDF whose format fits the screen.

Googling around, I read that it is nevertheless possible to "refry" this so-called "cropped" PDF, that is to save it again as a new PDF using Distiller. This time, at least, it will be really and permanently cropped, and so should load much more quickly.
http://www.prepressure.com/pdf/basics/refrying

As I have no experience about it, I will make some trials. It may be that "refry" means only saving to a PS file and back to PDF. It also remains to see if this operation does not damage some characters of the original file.

I wonder if it would not be possible to obtain this "refrying" feature using a free PDF printer.

Last edited by roger64; 04-27-2010 at 05:19 PM.
roger64 is offline   Reply With Quote
Old 04-27-2010, 05:36 PM   #20
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Quote:
Originally Posted by roger64 View Post
As I have no experience about it, I will make some trials. It may be that "refry" means only saving to a PS file and back to PDF. It also remains to see if this operation does not damage some characters of the original file.
Do some tests and let us know. I gather from what I read on the link you posted that printing to the distiller is in effect the same as converting to PS and then back to PDF, so it doesn't matter which you do. Printing to Distiller sounds easier, assuming it works.

Quote:
I wonder if it would not be possible to obtain this "refrying" feature using a free PDF printer.
But unless you were using Acrobat itself to do the cropping, why would you need to "refry" it to begin with? And if you have Acrobat installed, then you don't need a free PDF printer, since you have distiller.

Nevertheless, Ghostscript is certainly capable of converting from PDF to PS and then back again, and it's free software. I've used that as a method of stripping the JavaScript out of a PDF to increase security.

There are also free PDF printers like PDFCreator. But I think the effects of printing to PDFCreator would depend on what program was doing the printing, and the page settings you picked. Probably printing from Adobe Reader would do the trick—but again, unless you were using the Full Acrobat to do the cropping, why would the PDF need to be refried to begin with?
frabjous is offline   Reply With Quote
Old 04-28-2010, 11:26 AM   #21
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
I just failed to really crop permanently the file with Acrobat7.

I saved the pseudo cropped PDF file as a ps, used Distiller to create a new PDF out of it with a special page model. No way, I still have lot of whitespace around it.

This does not mean though that it's impossible because I read several pages about it. "Refrying" is said to work for this.

Well, "langue au chat!"
roger64 is offline   Reply With Quote
Old 04-28-2010, 11:43 AM   #22
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
When you printed to distiller, did it have a place to pick the page size?

Anyway, not sure why you're bothering with all this. Wouldn't it just be easier to use soPDF?
frabjous is offline   Reply With Quote
Old 04-28-2010, 12:00 PM   #23
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
I tried this (see attachment).

Why? Why not? I had a powerful gun and I thought I would easily kill this small rabbit. Well, I failed. Now, I am going to take a hammer...
Attached Thumbnails
Click image for larger version

Name:	Distiller.png
Views:	386
Size:	67.6 KB
ID:	50696  
roger64 is offline   Reply With Quote
Old 04-28-2010, 12:14 PM   #24
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Not sure if this is the problem, but the screen size of the 505 is 90 x 120mm, not 125mm x 175mm.
frabjous is offline   Reply With Quote
Old 04-28-2010, 12:49 PM   #25
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
mistake
roger64 is offline   Reply With Quote
Old 04-28-2010, 12:49 PM   #26
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Yes, but I planned to read the book half page by half page in landscape mode; from it: 120mmx175mm
roger64 is offline   Reply With Quote
Old 05-09-2010, 02:13 PM   #27
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
I wrote a small application which should fit your needs:

https://www.mobileread.com/forums/showthread.php?t=83053
laborg 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
Other Non-Fiction Stallman, Richard M.: Free Software, Free Society, PDF v1.0, 4 March 2009 scottdw Other Books 1 12-15-2011 03:02 PM
Auto crop raster image PDF - any software? bthoven PDF 16 09-07-2010 02:55 PM
pdf crop linux x3oo PDF 2 03-08-2009 06:50 AM
Crop PDF. astra PDF 2 02-01-2009 04:03 PM


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


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