Pdf: 2 columns for page --> 1 columns for page.

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
poincare999

Pdf: 2 columns for page --> 1 columns for page.

Post by poincare999 »

Hi, I am a Linux user (suse10.1).

I have a book scanned in the pdf format.
There are 2 columns for page.
I want split every page in 2 parts.
The new pdf file must have 1 column for page.

How can I do it?


Tanks.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Pdf: 2 columns for page --> 1 columns for page.

Post by anthony »

-crop 50%x0
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
poincare999

Re: Pdf: 2 columns for page --> 1 columns for page.

Post by poincare999 »

It works, tank you very much.

But now I am another problem, the quality of the final file is poor.
How can I don't lose quality.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Pdf: 2 columns for page --> 1 columns for page.

Post by anthony »

See IM Examples, A word about Vector Image formats
http://www.imagemagick.org/Usage/formats/#vector

Basically you are printing or viewing the resuling scaned image at too low a reolution or pixel density. scans can be improved by using the highest resolution, then resampling the result to the desired resolution.

You can also use an initial -median filter before the resize to remove individual pixel defects resulting from the scanned page.

For finding boundaries see... Blurred Trim
http://www.imagemagick.org/Usage/crop/#trim_blur
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply