LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2018, 05:46 PM   #1
PoleStar
Member
 
Registered: Jul 2010
Posts: 207

Rep: Reputation: 2
editing 2 page pdf with gimp


Hi,

I have 2 page pdf document I need to sign and send back.

I tried importing document as 2 images modify one page, and when I saved it it only saves that page ignoring the first page.

I tried importing document as layers same thing happens.

I need to open a 2 page pdf document sign page two and the then save it as 2 page document.

How that can be done with gimp ?
or there any other better tools for writing and signing pdf documents ?

I will really appreciate any help.

Thank you.
 
Old 05-31-2018, 06:42 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,870
Blog Entries: 27

Rep: Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662
In my experience--I am at best intermediate at GIMP--GIMP treats each page imported from a *.pdf as a separate image. What I have done as a workaround is to modify the *.pdf pages in GIMP, then import them as images into LibreOffice, then export the unified LO document as a *.pdf.

I'm sure there's a more efficient way, but I have to do this so seldom I haven't been motivated to find one.

Last edited by frankbell; 05-31-2018 at 06:45 PM.
 
1 members found this post helpful.
Old 05-31-2018, 07:09 PM   #3
pholland
Member
 
Registered: Jun 2015
Posts: 79

Rep: Reputation: Disabled
PDF-Shuffler is good for splitting and merging .pdf files. Look in your distro's repository. I've used it to merge two pdf files of 20 pages each. Good luck.
 
1 members found this post helpful.
Old 05-31-2018, 08:05 PM   #4
PoleStar
Member
 
Registered: Jul 2010
Posts: 207

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by pholland View Post
PDF-Shuffler is good for splitting and merging .pdf files. Look in your distro's repository. I've used it to merge two pdf files of 20 pages each. Good luck.
This is just amazing.
Thank you!!
 
Old 06-01-2018, 01:10 AM   #5
WFV
Member
 
Registered: Apr 2012
Location: CA
Distribution: Arch
Posts: 181

Rep: Reputation: Disabled
I've used the LO method too however, there's also pdfsam for merging the gimp'd ones back to one file. Maybe try masterpdfeditor? I've mastered none of them so usually do pdf edits in a VBox guest Windows using proprietary Adobe Standard, or Nitro.
 
Old 06-01-2018, 02:04 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,400
Blog Entries: 9

Rep: Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655
just to clarify, gimp and libreoffice do not edit PDF documents - they import them to a native format, then one can work on that.
in the end one has to export to PDF again.
 
Old 06-01-2018, 05:43 AM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,191

Rep: Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039
pdftk is very good as well. The command syntax is horrible but it is very powerful in manipulating pdfs.

You can convert a pdf to jpg with imagemagick:
Code:
convert -density 200 mydocyment.pdf mydocument.jpg
Multipage documents will be converted to mydocument-0.jpg, mydocument-1.jpg, etc

After saving from Gimp you can convert back:
Code:
convert -adjoin -page a4 -density 72 mydocument-0.jpg mydocument-1.jpg mydocument.pdf
Add the green colored options if you want to force A4 output.

Or convert a single page back to pdf and replace it in the original with pdftk.

In Inkscape you can import the pdf pages one by one.

jlinkels
 
1 members found this post helpful.
Old 06-01-2018, 05:24 PM   #8
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Linux Mint
Posts: 1,715

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
When I have to sign a pdf, I print it, sign the appropriate page, scan it page by page saving as pdf, then use pdfunite (or a similar utility) to reassemble the pdf. Not necessarily the most efficient workflow, but it gets the job done
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best image editing software for LInux? Gimp? abefroman Linux - Software 6 11-04-2009 07:44 PM
How to install Gimp picture editing software? Stink Linux - Software 2 06-20-2009 08:10 AM
OO-3 , Editing PDF ?? mickeyboa Fedora 4 12-08-2008 05:31 PM
editing pdf jahanzeb1982 Linux - Software 1 03-17-2008 05:56 PM
editing .pdf files. iAlta Linux - Software 3 09-16-2007 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration