This is completely new command for me. How do i run following command? What is required to run? I am not using swfcombine here.
> pagenum=`pdfinfo file.pdf | grep Pages | sed 's/^[^0-9]*\([0-9]\+\)$/\1/'` > for i in `seq $num_pages`;do (pdf2swf -s breakonwarning -p$i file.pdf -o > page$i.swf || \ > pdf2swf -s poly2bitmap -p$i file.pdf -o page$i.swf); \ > done > swfcombine --cat page*.swf -o file.swf > Date: Tue, 25 Aug 2009 17:59:18 +0200 > From: [email protected] > To: [email protected] > Subject: Re: [Swftools-common] Re: Help > > On Tue, Aug 25, 2009 at 02:06:57PM +0000, Imran Malik > <[email protected]> wrote: > > First i want to convert pages without poly2bitmap. And on error, > > pdf2swf should auto-covnert single page with poly2bitmap and move to > > next page without poly2bitmap. > > Try something like this: > > pagenum=`pdfinfo file.pdf | grep Pages | sed 's/^[^0-9]*\([0-9]\+\)$/\1/'` > for i in `seq $num_pages`;do (pdf2swf -s breakonwarning -p$i file.pdf -o > page$i.swf || \ > pdf2swf -s poly2bitmap -p$i file.pdf -o page$i.swf); \ > done > swfcombine --cat page*.swf -o file.swf > > Be aware that the output file might be larger, as you run single > conversion processes for each page, hence fonts and bitmaps are > duplicated. > > Matthias > > > > _________________________________________________________________ With Windows Live, you can organize, edit, and share your photos. http://www.windowslive.com/Desktop/PhotoGallery
