OSX NConvert PDF?

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
bandini
Posts: 2
Joined: Sun Sep 06, 2009 2:04 am

OSX NConvert PDF?

Post by bandini »

When I try to convert a one or many page pdf (to anything) I get the error...

Code: Select all

./nconvert -out png 3.pdf
** NCONVERT v5.30 (c) 1991-2008 Pierre-E Gougelet (Feb 23 2009/18:27:16) **
        Version for MacOS X  (All rights reserved)
** This is a freeware software (for non commercial use)

sh: gs: command not found
  Error: Don't know how to read this picture (3.pdf)
re: Installation
I have nconvert and xnview.app in the same directory

Any ideas?

Thanks for your help.
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: OSX NConvert PDF?

Post by xnview »

you must have ghostscript
Pierre.
bandini
Posts: 2
Joined: Sun Sep 06, 2009 2:04 am

Re: OSX NConvert PDF?

Post by bandini »

That did it. Thank you.
abross86
Posts: 3
Joined: Mon Sep 21, 2009 4:24 pm

Re: OSX NConvert PDF?

Post by abross86 »

I'm having this same problem, however I can't figure out how to get ghostscript insalled correctly. I tried using the package I found here:
http://www.linuxfoundation.org/en/OpenP ... X/foomatic

..but after installing it I still get the same error. Any suggestions?
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: OSX NConvert PDF?

Post by xnview »

do you have the path of gs in your path var?
Pierre.
abross86
Posts: 3
Joined: Mon Sep 21, 2009 4:24 pm

Re: OSX NConvert PDF?

Post by abross86 »

I'm not sure. How would I check?

Btw, if I run the "gs" command in terminal, it runs ghostscript just fine.
abross86
Posts: 3
Joined: Mon Sep 21, 2009 4:24 pm

Re: OSX NConvert PDF?

Post by abross86 »

ok, so I found the gs binary and I put it in the same directory as nconvert, but now its throwing this error:
error "GPL Ghostscript 8.57: Unrecoverable error, exit code 1
Error: Don't know how to read this picture (/Users/aross/Pictures/scan1.pdf)
" number 254
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: OSX NConvert PDF?

Post by xnview »

You can't put only the exe, there is many other files used.
You should change your PATH env var
Pierre.
Post Reply