03-29-2010, 01:25 AM | #1 |
Evangelist
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
|
How to resize my rasterized pdf?
I have a rasterized pdf (scanned image) which size is too big.
I wish to scale the size down (its size is 6.97"x4.09", want to scale down to 4.5" high). Any freeware allows me to do this? Last edited by bthoven; 03-29-2010 at 02:06 AM. |
03-29-2010, 07:41 AM | #2 |
Wizard
Posts: 1,234
Karma: 3350652
Join Date: Feb 2008
Device: Amazon Kindle Paperwhite (300ppi), Samsung Galaxy Book 12
|
Any bitmap editor which supports the import of .pdfs should allow you to do this, GIMP is one free program which will (use GhostScript to) import .pdfs.
William |
Advert | |
|
03-29-2010, 02:41 PM | #3 |
Country Member
Posts: 9,058
Karma: 7676767
Join Date: Feb 2010
Location: Denmark
Device: Liseuse: Irex DR800. PRS 505 in the house, and the missus has an iPad.
|
The other option is to get the text out of the PDF with an OCR programme - Abbyy FineReader is good. Once you've got the text you can do what you want with it - resize it, reflow it - in a word processing programme and then print to PDF again.
|
03-29-2010, 02:53 PM | #4 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
I'm curious exactly why you want to do this. Just about every PDF reader, certainly on portable devices, will automatically scale the PDF to match the size of the screen.
Is this for the purpose of printing, or ...? |
03-30-2010, 03:14 AM | #5 | |
Evangelist
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
|
Quote:
1. After editing in GIMP, which format should I save them? save in layers? because I can't save them as pdf direct from GIMP. 2. How to convert it back to multi-page pdf? Thanks Last edited by bthoven; 03-30-2010 at 05:29 AM. |
|
Advert | |
|
03-30-2010, 03:39 AM | #6 | |
Evangelist
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
|
Quote:
As the document page is too long, when autofit in Nook, the text is too small with lot of blank space on the right. I wish I can compress the height of the page a bit; or to make the page height vs width scale fit my Nook. This should make the text look bigger on my Nook. Last edited by bthoven; 03-30-2010 at 03:49 AM. |
|
03-30-2010, 03:49 AM | #7 | |
Evangelist
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
|
Quote:
Thanks for your suggestion. The document looks quite dirty because it was scanned from a very old book. The text is also in Thai which current local OCR software is still not good enough to produce accurate text out of it. |
|
03-30-2010, 09:43 AM | #8 | |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Quote:
There are some instructions in this thread for cropping scanned PDFs. You could also try soPDF or PaperCrop or PDFread. |
|
03-30-2010, 10:50 AM | #9 | |
Evangelist
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
|
Quote:
I already use GIMP to import, change the proportion, and save it in gif and xcf as layered image file. I don't know how to convert it further to pdf? The preview of the new proportion still looks good and very readable. Last edited by bthoven; 03-30-2010 at 10:56 AM. |
|
03-30-2010, 02:57 PM | #10 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Are you cutting the pages into proportionally correct sized chunks, or are you actually stretching the text or images disproportionately to match the Nook's size?
Hey, if it still looks good, more power to you. I would think this would usually result is something fairly awful looking, however... Either way, I wouldn't think that the GIMP is the right tool for this job. (Although I am a big fan of the GIMP in general.) For cutting into appropriately sized chunks, one thing could you try is processing with PDFLRF and then use calibre to convert the resultant LRF to something Nook can read (ePub or whatever). For stretching, I'd probably bypass the GIMP altogether and write a script for ImageMagick that does it all automatically. (E.g., burst a PDF into multiple images, batch resize the pages, etc.) ImageMagick can also convert multiple images, or a multi-layer image, into a multipage PDF. E.g.: convert *.gif -adjoin output.pdf Will combine all the .gifs in the directory into output.pdf. if I knew a bit more about exactly what the workflow is, I might be able to help with the script, though I'm by no means an expert. Last edited by frabjous; 03-30-2010 at 03:06 PM. |
03-30-2010, 10:50 PM | #11 |
Evangelist
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
|
Thanks frabjous...you're very helpful.
I use gimp to stretch (should say squeeze) the image and now saved as multi-layer gif. It seems there is no tool to convert such a multi-layer gif file to multi-page pdf. |
03-30-2010, 10:55 PM | #12 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
ImageMagick will also convert multilayer gifs to multipage PDFs.
convert mymultilayer.gif mymultipage.pdf |
03-30-2010, 11:18 PM | #13 | |
Evangelist
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
|
Quote:
The problem are: 1. size increase two folds (from 9MB to 17MB). Size increased at pdf-to-gif process by gimp. The imagemagick just increased size a bit. 2. the output file show pages in reverse order, ie. last page show first. I have to reverse layer order in gimp before using imagemagick. Is there an option in imagemagick to reverse layer order when producing pdf file? Thanks Last edited by bthoven; 03-30-2010 at 11:24 PM. |
|
03-30-2010, 11:40 PM | #14 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Try:
convert mymultilayer.gif -reverse mymultipage.pdf Not sure what can be done about the file size offhand, but I'll give it some thought. |
03-31-2010, 12:14 AM | #15 |
Evangelist
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resize window on Mac OS X | netspy | Calibre | 20 | 12-28-2009 06:22 AM |
Resize PDF | termn8er | Astak EZReader | 11 | 11-14-2009 05:26 PM |
How to resize pdf? | Project | 3 | 07-21-2009 01:28 AM | |
Photo resize | shousa | Workshop | 1 | 01-31-2008 08:14 AM |
JPGS. auto-resize? | Satrac | Sony Reader | 3 | 07-07-2007 07:27 AM |