Reply
Thread Tools
Posts: 320 | Thanked: 45 times | Joined on Feb 2010
#1
Do we have a app to take a picture of a document via the camera and then convert into PDF

THanks
 
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#2
check out the python imaging library

i think the package is python-imaging

you should easily be able to make a script to convert from jpg to pdf

Not sure if ghostscript is available but it probably use. You could use imagemagick + ghostscript too.
 
Posts: 320 | Thanked: 45 times | Joined on Feb 2010
#3
Originally Posted by quipper8 View Post
check out the python imaging library

i think the package is python-imaging

you should easily be able to make a script to convert from jpg to pdf

Not sure if ghostscript is available but it probably use. You could use imagemagick + ghostscript too.
You suggesting that should an app reg this or imagemagick + ghostscript is already an available

thanks
 
Posts: 320 | Thanked: 45 times | Joined on Feb 2010
#4
Sorry for my English

You suggesting that i should make an app reg this or imagemagick + ghostscript is already an available app

thanks
 
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#5
no, there is no app available, but Ijust checked imagemagick is

should be as simple as

convert <nameofpic>.jpg <pdfname>.pdf
 

The Following User Says Thank You to quipper8 For This Useful Post:
Posts: 320 | Thanked: 45 times | Joined on Feb 2010
#6
Originally Posted by quipper8 View Post
no, there is no app available, but Ijust checked imagemagick is

should be as simple as

convert <nameofpic>.jpg <pdfname>.pdf
You mean that is the command i need to write in the terminal

thanks
 
Posts: 176 | Thanked: 56 times | Joined on Oct 2009
#7
You will first need to install imagemagick. It is one of the extras repositories. Once it is installed the command line

convert <nameofpic>.jpg <pdfname>.pdf

Will work as specified above.
 

The Following User Says Thank You to Bruce For This Useful Post:
Posts: 320 | Thanked: 45 times | Joined on Feb 2010
#8
thanks Bruce and quipper8
 
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#9
Originally Posted by anismistry View Post
You mean that is the command i need to write in the terminal

thanks
OK, all steps(I think)

go to App Manager

Click Download

click menu at top, select Search

type rootsh

click on it to install

check yes and everything else OK

after succesful install close app manager

go through menus and find and click X-terminal(looks like a black box with green writing $ in it.

type root and then hit enter

type apt-get install imagemagick(you might want to be on wifi, as there are a lot of dependencies to also download)

after install done you can type exit to go back to your regular user account

type cd MyDocs/DCIM

you are now in the directory where the pictures taken by camera are(unless you are using a memory card)

type ls -tr (that will list all the files with the most recently created one at the end so you can try converting the picture you just took but they are also named by time by default)

type convert <thefilename>.jpg <filenamefor pdf>.pdf (you don't need the brackets, that is just used here to denote substitution)


Hope that helps

PS forgot to include enabling whatever repository imagemagick is in too.

Last edited by quipper8; 2010-05-14 at 02:41. Reason: enable devel
 

The Following User Says Thank You to quipper8 For This Useful Post:
Posts: 320 | Thanked: 45 times | Joined on Feb 2010
#10
Too Good ill try
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:53.