문제

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?

도움이 되었습니까?

해결책

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 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top