{"id":4728,"date":"2022-12-14T09:42:26","date_gmt":"2022-12-14T16:42:26","guid":{"rendered":"https:\/\/cnsit.colostate.edu\/kb\/?p=4728"},"modified":"2024-06-27T13:41:49","modified_gmt":"2024-06-27T19:41:49","slug":"gimp-as-a-pdf-editor","status":"publish","type":"post","link":"https:\/\/cnsit.colostate.edu\/kb\/gimp-as-a-pdf-editor\/","title":{"rendered":"GIMP as a PDF Editor"},"content":{"rendered":"\n<p>Gimp can do everything from resizing and cropping images to adding text, changing colors or distorting images in artistic ways. You can use it to draw with its pencil or paintbrush and layer additional images. It\u2019s quite a versatile tool. Yet I only recently noticed that it can also be used to manipulate PDF files, not just the many types of image files that most people use it to create, modify or enhance.<\/p>\n\n\n\n<p>If you\u2019ve never used Gimp\u2014a free&nbsp;image editor available for GNU\/Linux, MacOS, Windows and other operating systems\u2014you might be quite surprised by its capabilities; both as a free Adobe Photoshop substitution and now as an Adobe Acrobat PDF editor substitution.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Why Gimp?<\/strong><\/h3>\n\n\n\n<p>It might not be obvious why you\u2019d want to modify PDFs using Gimp, but it can do some interesting things. Even though PDFs normally contain a lot of text and maybe some images, there are a number of ways that you can work with them using Gimp. For example, you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Turn a PDF into a series of image files (one per page)<\/li>\n\n\n\n<li>Delete specific pages<\/li>\n\n\n\n<li>Add some new pages<\/li>\n\n\n\n<li>White out or replace select portions of pages<\/li>\n\n\n\n<li>Add notes or images<\/li>\n\n\n\n<li>Reverse the order of the pages<\/li>\n\n\n\n<li>Break a PDF into separate PDFs\u2014by chapter, for example<\/li>\n<\/ul>\n\n\n\n<p>It\u2019s important to understand that editing PDFs using Gimp means you are modifying page images, and this is something that you need to fully grasp before you get started.<\/p>\n\n\n\n<p>In addition, you need to know a few tricks about how Gimp works before you try using it to manipulate PDFs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Opening your PDF<\/strong><\/h3>\n\n\n\n<p>Once you\u2019re ready to try using Gimp to make changes to a PDF, here\u2019s how to start:<\/p>\n\n\n\n<p>First, open Gimp.  If you do not have Gimp installed, get it from here first: <a href=\"https:\/\/www.gimp.org\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.gimp.org<\/a><\/p>\n\n\n\n<p>Next, when you go to open a PDF using Gimp, you need to decide whether to open its pages as separate images or as a group of layers, which are portions of a single image.<\/p>\n\n\n\n<p>This choice makes a big difference. If you plan to export the modified document as a PDF, you need to open it with the \u201cOpen pages as layers\u201d option, which is the default. Once the document is open, you should see each page displayed as a layer in Gimp\u2019s layers panel. If you don\u2019t, try selecting Windows -&gt; Dockable Dialogs -&gt; Layers and it should appear. Don\u2019t be surprised when a 100-page PDF ends up with 100 layers. That\u2019s the way it works.<\/p>\n\n\n\n<p>Select your file (e.g., Win_at_Sudoku.pdf) by selecting Open\u2026 under the File menu, selecting the PDF you want to open and then clicking on Import at the bottom right. Alternately, you can go directly to the&nbsp;<strong>File -&gt; Open as layers<\/strong>\u2026 option and choose the PDF file.<\/p>\n\n\n\n<p>In the panel that opens, you can change the page size and select the page range or just go with the defaults, which select all pages using 700&#215;925 pixels. Then click on \u201cImport\u201d at the bottom right.<\/p>\n\n\n\n<p>In the Layers panel, you will then see a list of the layers with small images of each one and \u201ceye\u201d icons on the left of each layer that controls whether the layers are visible, though the active (first) page will be the one that is displayed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Making changes<\/strong><\/h3>\n\n\n\n<p>To work on a single page, click on the image of that layer from the layers panel to make it the active layer and click on (sometimes referred to as \u201cunclicking\u201d) the eye icons for the other images so that they are no longer&nbsp;visible. You will then be able to draw on the selected page or add text to it. If you add text, you will be creating a new layer, but you can to use the \u201cMerge visible layers\u201d option to turn the two or more layers back into a single layer when you are ready. Since the other layers should not be visible at that time, they will not be affected.<\/p>\n\n\n\n<p>Also note that if you don\u2019t merge layers of text that you add they will end up as separate pages when you export your modified PDF.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Removing pages<\/strong><\/h3>\n\n\n\n<p>You can remove pages in any of three ways. You can make them invisible before you save the new PDF; you can select multiple pages (and no others) and use the \u201cmerge visible pages\u201d options to reduce them to only the first page in the list; you can simply click on them and select \u201cdelete layer\u201d.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Adding pages<\/strong><\/h3>\n\n\n\n<p>You can add pages to your document by adding layers and sliding them into the proper position in the document by clicking on them and then using the up and down tools shown at the bottom of the layers panel to move them into the correct location.<\/p>\n\n\n\n<p>You can add text and images to new layers. Just remember to have no other pages visible when you merge the added layers and the associated text layers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Saving your changes<\/strong><\/h3>\n\n\n\n<p>When you are ready to export the modified file, make sure that all of the layers you want to retain are visible (eye icons displayed) and select&nbsp;<strong>File -&gt; Export As\u2026<\/strong>&nbsp;using&nbsp;<strong>.pdf<\/strong>&nbsp;as the file extension for your new document. As explained earlier, if you want to omit any pages, make sure they are&nbsp;not&nbsp;visible by clicking on (\u201cunclicking\u201d) the eye icon. Make sure you export with \u201clayers as pages\u201d so you don\u2019t end up with a single page (all pages merged into one). Select these options for the export:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Layers as pages<\/li>\n\n\n\n<li>Reverse the pages order<\/li>\n\n\n\n<li>Apply layer masks before saving<\/li>\n\n\n\n<li>Omit hidden layers and layers with zero opacity<\/li>\n<\/ul>\n\n\n\n<p>Your \u201cLayers as pages\u201d option may also say \u201cbottom layers first\u201d. If so, this will change to \u201ctop layers first\u201d once you click on the \u201cReverse the pages order\u201d option.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Turning a PDF into a group of images<\/strong><\/h3>\n\n\n\n<p>If you open a PDF as separate images rather than layers, you can save each page as an independent PDF or as a separate image. Gimp will create the files using whatever file extension you select. So, just use the appropriate file extension and Gimp will do what\u2019s needed. You will, however, have to save each page separately.<\/p>\n\n\n\n<p class=\"has-white-color has-pale-cyan-blue-background-color has-text-color has-background\">This article is taken\/adapted from the following &#8211; content reproduced here for posterity: https:\/\/www.networkworld.com\/article\/3618998\/using-gimp-to-modify-pdf-files.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gimp can do everything from resizing and cropping images to adding text, changing colors or distorting images in artistic ways. You can use it to draw with its pencil or paintbrush and layer additional images. It\u2019s quite a versatile tool. Yet I only recently noticed that it can also be used to manipulate PDF files, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2680,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-4728","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-cnsit","category-knowledge-base"],"_links":{"self":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/4728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/comments?post=4728"}],"version-history":[{"count":5,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/4728\/revisions"}],"predecessor-version":[{"id":4988,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/4728\/revisions\/4988"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/media\/2680"}],"wp:attachment":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/media?parent=4728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/categories?post=4728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/tags?post=4728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}