Smilies are On. All times are GMT The time now is PM. Twitter: linuxquestions. Open Source Consulting Domain Registration. Search Blogs. Mark Forums Read. User Name. Remember Me? Programming This forum is for all programming questions. The question does not have to be directly related to Linux and any language is fair game. View Public Profile. View Review Entries. Find More Posts by mfoley. Find More Posts by David the H. Linux Archive Last edited by renjithrajasekaran; at AM. Installing mutool from a Linux distribution package On Debian, the package containing mutool is mupdf-tools : apt-get install mupdf-tools.
Improve this answer. Pierre H. I had a djvu I turned it into a postscript quite fast , then into a pdf turtle slow -- and finally mutool cut it so fast I thought it hadn't work -- it had!
This one is the easiest and better. Also, beware of -y , I think in most cases what you want is -x. This utility is very fast, however I have a problem with the page order. The command allocates the right page at first position and the left page in the second one. Can somebody help me with this issue? Show 2 more comments.
Just in case it's useful, here's my earlier answer which uses a combination of two tools plus some manual intervention: Pdfjam at least version 2. Gilles 'SO- stop being evil' Gilles 'SO- stop being evil' k gold badges silver badges bronze badges. The PyPdf library works perfect. How would you run your script shebang from commandline? I'd like to try the version with pdfjam because of slight scaling too, but after the installation of pdfjam package my shell won't recognize pdfjam command.
The pdfjam version requires pdfjam 2. The scaling issue is probably solvable with pypdf, it could be a page size issue I may or may not be able to help if you give more details on what's happening and especially the page sizes involved.
Thank you, the difference is in very slightly worse resolution, but this doesn't matter. I will turn back to it when I know more about Latex it's too complex for me now and the solution is really good with PyPdf. Gilles Versy useful script.
I've expected to see something like that in pdfjam, pdftk. Anyway, some people may want some modifications to split pages over other axis and use different ordering. This is possible to with changing few lines and using q. Show 3 more comments. Michael Mrozek 84k 31 31 gold badges silver badges bronze badges.
It looks like convert uses raster as an intermediate format. That causes blurish look even when original PDF contains vector objects. Does anyone know of a way to do this without rasterizing page contents along the way Maybe nice for pics but useless for text extraction.
Community Bot 1. No need to get premium applications and tools to accomplish it. This guide focuses on extracting a specific part from any PDF file and saving it with a different name in Linux. Though there are multiple ways to do this, I will be focusing on the less cluttered approach. This method is more like a trick for extracting pages from a PDF file.
Most of the Linux distributions come with a PDF reader. Now click on the menu button and as shown in the following image:. You can also extract any page from the PDF file by typing the page number and separating it by a comma.
Personally and as I always say, I usually choose the options that allow me to perform all my tasks from one user interface or GUI. But sometimes, using a command line, especially if we are quick to write or create a. What do you prefer: do it with LibreOffice or a similar program or with tools that are used from the Terminal such as pdftk?
The content of the article adheres to our principles of editorial ethics. To report an error click here! Your email address will not be published. Be the first to comment Leave a Comment Cancel reply Your email address will not be published. Legitimation: Your consent Communication of the data: The data will not be communicated to third parties except by legal obligation.
0コメント