swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] pdf2swf - paths


From: LivingDocs
Subject: [Swftools-common] pdf2swf - paths
Date: Fri, 16 Oct 2009 14:44:40 +0200

Hello,

I try to use pdf2swf in a PHP script on a Windows system.

I can start pdf2swf.
But there seams to be some problems with the input- and output-paths.

I use the verbose option. But pdf2swf does not output any message.

this is my script:

 for($i = 1; $i < ($seitenzahl + 1); $i++)
 {
        $pdfFilePath = $input_path1 . $pdfname;
        $swfFilePath = $output_path1 . $swfname . $i . ".swf";
$toolsoptions = " -vvv -g -f -T 8 -j " . $quality . "-p " . $i . " " . $pdfFilePath . " -o " . $swfFilePath;
        $config = $toolspath . "pdf2swf" . $toolsanhang . ' ' . $toolsoptions;
        $swfc_meldung = system($config);
 }


My Question is:
What is the corrct path to the PDF ($pdfname)?
And what is the correct output path ($swfFilePath)?

Must they be relativ to the php script?
Or must they be absolut on windows basis (C:kjkjh\nkhkhkh\...)?

Benedikt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]