Hi Rob,
On 21 March 2011 14:49, Rob "Bubba" Hines <[log in to unmask]> wrote:
> I was under the impression that nip2.exe was just a GUI over vips, but recently read something that indicates nip2 provides a command line interface and can be used for batch processes as such? Could someone point me towards more documentation on that? Or is the only thing available for it the commandline --help?
There's a section in the nip2 manual about the command-line interface.
Press F1, or it's online as well:
http://www.vips.ecs.soton.ac.uk/supported/7.24/doc/html/nipguide/nipguidese13.html#x21-390004.5
> I'm assuming that _something_ is different between the two environments, but for the life of me I can't sort out what it is. Are there some particular imagemagick configuration files that need to be in the path? Do I need ghostscript? I'm going nuts trying to sort it out, so any advice is greatly welcomed - both on whether I should be using nip2.exe instead of vips.exe as well as that might be missing in the environment.
I'd guess your QA machine has imagemagick installed and your dev
machine does not. The vips-dev zip includes it's own copy of
imagemagick and I would guess that the two versions are fighting. I
wouldn't really expect vips to be able to open PDFs reliably on
Windows, I'm amazed when it works at all.
I would try converting the PDF to a TIFF yourself using ghostscript
directly. This will be much more reliable than hoping vips is able to
persuade imagemagick to launch the correct version of gs for you, and
you'll have much more control over the conversion process.
John
|