Hi to all the swftools gurus out there.i nees a little help with the convert
line.
this is the function my php coder write for converting pdf into swfs files.
those files insert into xml ,flipbook
this is the function:
function PDF2SWF($FilePath, $FileName)
{
if ($FilePath[strlen($FilePath)-1] != "/")
$FilePath .= "/";
$NewFile = $FilePath.substr($FileName, 0, strrpos($FileName, "."));
//This is sharper but slower
$string = exec("pdf2swf -X 1000 -Y 1400 -S -s framerate=1 -G -s zoom=100 -s
subpixels=1 $NewFile.pdf -o $NewFile-%.swf");
//$string = exec("pdf2swf -i -X 1000 -Y 1400 -S -s framerate=1 -G -s bitmap
-s jpegquality=85 -s zoom=100 -s subpixels=1 $NewFile.pdf -o
$NewFile-%.swf");
$findMinus = strrpos($string, "-");
return intval(substr($string, $findMinus+1, strrpos($string,
".")-$findMinus-1));
}
right now ,i want to set the files width and height into 1000 X 1400,but
this is effected by the -G bitmap line ,so it doesn't get this width and
height and the pages are not filling the flipbook pages area.
how can i still use the bitmap feature ,but still make the files 1000X1400 ?
--
בברכה,
שמוליק עידן,
קליק שופ - פתרונות אינטרנט מתקדמים. רח' השילוח 9 פ"ת.
http://www.clickshop.co.il
♦ מחלקת מכירות ♦ מחלקת תמיכה טכנית ♦ פקס
0722-512-512 0722-512-512 03-7621107