Author Topic: .jpeg image to .pdf document [Solved]  (Read 1042 times)

Offline Ramchu

  • Hero Member
  • *****
  • Posts: 1589
.jpeg image to .pdf document [Solved]
« on: October 01, 2010, 09:04:55 AM »
In my work I have created some invoice's using Openoffice
I submit these invoices for payment by exporting the completed document as .pdf files and then email them to my clients.
Lately I have had a need to alter a completed invoice ( black out an area ) to send them to my clients customers.

I was unable to find a way to black out the area with OpenOffice so I used GIMP to open the exported .pdf file
and edit the document, now GIMP does not have the function to export as a .pdf (at least I haven't found it )
so I saved the document as a .jpg.

So now I am scratching my head and searching synaptic for PDF software to convert the .jpg file to .pdf , so that I
can email this as a proof of purchase to the clients customer.

Out of desperation I decided to try renaming the customer_whatever.jpg file to customer _whatever.pdf

I actually thought that this couldn't possibly work, so I right click on the .jpg file and rename it to .pdf

Out of my amazement the file converted to customer_whatever.pdf

It was that simple --- Problem solved
_____________________________________________________________________________________________________________
Edit: install kim - right click on the .jpg>actions>kim-convert and rotate>convert to PDF - This solves it

Hope this helps someone else !
Regards,
Ramchu

« Last Edit: October 01, 2010, 11:16:56 AM by Ramchu »

Online parnote

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4436
  • The truth is out there ... PCLinuxOS!
Re: .jpeg image to .pdf document
« Reply #1 on: October 01, 2010, 09:18:41 AM »
Nice one, Ramchu! I can confirm that this works as advertised. I can also confirm that this does NOT work in the reverse direction (renaming a PDF file to JPG).

Nothing like the KISS principle ... Keep It Super Simple!

parnote
PCLinuxOS Magazine Chief Editor

Linux Registered User #485009

In a world without walls, who needs Windows?

PCLinuxOS Wiki: Contribute tips/tricks/how-to's!

Offline Ramchu

  • Hero Member
  • *****
  • Posts: 1589
Re: .jpeg image to .pdf document
« Reply #2 on: October 01, 2010, 09:26:14 AM »
Nice one, Ramchu! I can confirm that this works as advertised. I can also confirm that this does NOT work in the reverse direction (renaming a PDF file to JPG).

Nothing like the KISS principle ... Keep It Super Simple!

parnote

Thank's

EDIT : just discovered that it will not open on a Windows OS - Adobe Reader says that the document did not decode correctly
« Last Edit: October 01, 2010, 09:43:08 AM by Ramchu »

Online parnote

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4436
  • The truth is out there ... PCLinuxOS!
Re: .jpeg image to .pdf document
« Reply #3 on: October 01, 2010, 09:45:08 AM »
Hmmm ... maybe try something other than Adobe's PDF Reader? Something like FoxItPDF (not sure I'm calling it the right name) or another 3rd party PDF reader? Just an idea, but maybe they won't be as "strict" about the PDF format as Adobe's own reader is.

parnote
PCLinuxOS Magazine Chief Editor

Linux Registered User #485009

In a world without walls, who needs Windows?

PCLinuxOS Wiki: Contribute tips/tricks/how-to's!

Offline Ramchu

  • Hero Member
  • *****
  • Posts: 1589
Re: .jpeg image to .pdf document
« Reply #4 on: October 01, 2010, 10:05:05 AM »
Hmmm ... maybe try something other than Adobe's PDF Reader? Something like FoxItPDF (not sure I'm calling it the right name) or another 3rd party PDF reader? Just an idea, but maybe they won't be as "strict" about the PDF format as Adobe's own reader is.

parnote

Nice suggestion - but - I don't want to have to drive to these customers homes and teach them how to add yet another 3rd party viewer.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3735
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: .jpeg image to .pdf document
« Reply #5 on: October 01, 2010, 10:58:09 AM »
It will not work, open it with pdfedit, or FoxitReader, both avalaible in synaptic...

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: .jpeg image to .pdf document
« Reply #6 on: October 01, 2010, 11:05:06 AM »
Use pdfedit --
Quote
Complete editing of pdf documents is easy with PDFedit.
You can change either raw pdf objects (for advanced users)
or use predefined gui functions.

Or pdfmod --
Quote
PDF Mod is a simple application for modifying PDF documents.
You can reorder, rotate, and remove pages, export images from a document,
edit the title, subject, author, and keywords, and combine documents via
drag and drop.


Offline Ramchu

  • Hero Member
  • *****
  • Posts: 1589
Re: .jpeg image to .pdf document
« Reply #7 on: October 01, 2010, 11:07:17 AM »
Got the answer :

right click on the .jpg file>actions>Kim-convert and rotate>convert to PDF

Must have KIM installed


Now it opens the emailed .pdf with Adobe Reader in windows

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3735
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: .jpeg image to .pdf document
« Reply #8 on: October 01, 2010, 11:07:40 AM »
simplest way
Konsole
type
Code: [Select]
convert <name> *.pdfIf you use KDE4, i found a Servicemenu
http://kde-apps.org/CONTENT/content-files/118291-2pdf.desktop