Pergunta

I am trying to make a little program to crop PDF pages and export as SWF files which will be displayed on web. I am using SWFTools to crop and convert to SWF by this command line

pdf2swf -c x1:y1:x2:y2 mypdf.pdf -o exported.swf

But it masks instead of cropping and keeps file size same with full page. I checked swftools wiki pages and documents but found nothing related cropping. is there any way to crop and reduce size?

Foi útil?

Solução

I found the solution -G parameter which defined as "Remove as many clip layers from file as possible." in pdf2swf help worked for me.

pdf2swf -G -c x1:y1:x2:y2 mypdf.pdf -o exported.swf 
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top