PDF manipulation tips, Part 1 . During grad school at the University of Waterloo, I published mainly in the IEEE Geoscience and Remote Sensing journals, which accepted PDF format submissions with La. Te. X source files. On this page I will document some tips and tricks I learned as I handled (or, on some days, physically dueled with) PDF files. This will hopefully save you some headaches.
Part 2 focuses on things you can do with other programs like Pdftk. Once installed, add the bin directory of the Ghostscript installation to your system path. The examples I give below are for the Windows version of Ghostscript, gswin. If these are PDF files you created yourself with pdf. Te. X, then most likely the original images that you included with the \includegraphics command had alpha channels. Just remove the alpha channels from the original images and recreate the PDF with pdf. Te. X before using Ghost.
Script. This is especially the case when you are preparing for submission to a journal, which will require that color graphics be a certain dots per inch (dpi). IEEE Geoscience and Remote Sensing journals, for example, require color images to be 4. This means that for a color graphic that you want to be 3 inches square, the image has to be 1. If you have a lot of images, which is often the case in image processing research, then the PDF file can be quite large. This is fine for final submission to the journal, but what if you needed to distribute a draft to your co- authors, or wanted to put an online version on your website (e. This will use lossy compression (unless you tell it otherwise) and image resampling to a smaller dpi so the image quality will suffer but it will be much smaller. Just run the following command.
DEVICE=pdfwrite - d. Max. Subset. Pct=1. PDFSETTINGS=/ebook - s. Output. File=. You can specify several different presets for d. PDFSETTINGS, which affects the dpi to which the images are resampled.
Presetdpi/screen. Default dpi setting. For the purposes of compressing a PDF made by pdf. Te. X, use /screen or /ebook. I like /ebook because it is higher quality but still smaller than the original file. The /prepress and /printer presets keep images at fairly high resolution (3.
I am unsure of what the difference is between /printer and /prepress. I also do not know how to specify an arbitrary dpi setting. I will post it here when I find out. My co- author on that paper had a lot of trouble sending it back and forth to our advisor for feedback due to the size. If I had known back then what I know now, this problem could have been avoided. While this makes the file small, it also completely garbles the text: you can read it, but the underlying text has been replaced by gibberish such that you cannot search or copy the text properly; additionally, search engines like Google cannot read them properly so no one can find your file.
This requires that you produce and keep track of your images. When using pdf. Te. X, you can include JPEG images, which you can compress to be smaller beforehand. They stay small in the final PDF file. The quality obviously goes down, which is why I personally always include PNG files with lossless compression, which are then converted to whatever format the journal needs at the end. I have noticed that with my submissions to IEEE, my original lossless colour images are recompressed by them; so it is best to give them lossless images in the first place to avoid possible further losses of quality.
If you are using Ghost. Script to process your PDF, you sometimes might want it to use lossless compression instead of lossy compression. In this case, you will need to specify some additional options. There are two options you need to specify for colour and gray scale images. They let you decide how you want to compress different types of images separately. I believe Flate is the same as the Deflate algorithm, which is lossless and used in PNG images.
It is also quite simple to split (or “burst”) a PDF file into a separate file for each page using a program called Pdftk. These operations are described in this section.
You can specify as many input files as you want. You can extract just one page by having a equal to b. You can either write a bash script that runs the above command for each page in the file or you can use Pdftk to .
Follow the link to part 2 of my PDF manipulation tips for instructions. You might want to do this if you wanted to include the PDF content as a graphic in a La. Te. X document. To use this on a Windows system, you need to install Perl, GPL Ghost. Script and Mik. Te. X. Mik. Te. X comes with pdfcrop. Perl script, so you do not necessarily need to have pdfcrop. On Windows, I was only able to run pdfcrop.
Windows command prompt; it does not work with the Cygwin Bash shell; conversely, pdfcrop. Windows command prompt but works from a Cygwin Bash shell.
For users on Unix or Linux systems, you will need pdfcrop. Perl, GPL Ghostscript and Pdf. Te. X or Xe. Te. X installed. You can add margins with the –margins option. Most annoying is the fact that the PDF creator field is assigned to Ghost.
Script's author, which can result in confusion among your own readers regarding the authorship of your PDF (for what it is worth, the PDF creator field seems to refer to the software used to create the PDF file, however, it can still be confusing for those not aware of this). You can get Ghost. Script to include your own custom PDFmark DOCINFO (such as Author, Title, Keywords, Creator and Producer). Ghostscript merely concatenates the DOCINFO into the final file.
PDF Converter converts PDF to Word, PDF to Excel, PDF to HTML, PDF to Image, PDF to PostScript, PDF to PDF/A and creates PDF. It adds password, removes password. Rate Rebasing in Medicare Home Health Services: A Review of the 2014 HHPPS Proposed Rate Rule Background The Patient Protection and Affordable Care Act of 2010 (PPACA)requires that Medicare reset or rebase the home health. Borderless PDF Printing on a Mac. June 19, 2014; Featured / How-to; 90 Comments; TheBackpackr; I’m a stickler for perfection and I oftentimes create documents in Microsoft Word or Powerpoint that need to be borderless when. Dental plaque is a biofilm or mass of bacteria that grows on surfaces within the mouth. It is a sticky colorless deposit at first, but when it forms tartar it is brown or pale yellow that is commonly found between the teeth. How to Crop Pages in a PDF Document. When you have a PDF composed of pages of different sizes, you may want crop your pages to create a unified look. This article will teach you to use Adobe Acrobat X to crop pages in a PDF.
Page margins control the amount of blank space around the edges of the page in your Microsoft Word 2010 document. Although they are usually left blank, they can actually contain items such as headers, footers and page numbers.
I have to start each new section of my document on the top of the page. Then I have to remove any section breaks that create large gaps of white space. Disease Management Guide Disease Management Guide for CT Arborists 2007-2008 S. How to Get Rid of White Border in Acrobat. If you don't need the white borders around the content of a PDF, remove them in Adobe Acrobat XI by using the Crop tool. Don't worry -- you don't have to manually crop each page in a.