-s multiply=2 helped me a lot with this issue. you can also try more than 2, just check your output. as far as i know it is scanning the pdf with x-times the resolution - the swf dimensions do not change.
filip On Fri, Oct 30, 2009 at 10:33 AM, Aparna More <[email protected]> wrote: > > Thanks for the reply .. > > Let me explain my problem in more detail ..... > > I have a pdf with page size : 1.65 x 0.43 inches here default dpi is 72 > > Now swf generated from this pdf using pdf2swf tool looks large and blurry > .... > > But movie width and height of swf is same as pdf i.e (119.00 x 31.00 pixels > ) . > > I want a swf which looks same as that of pdf > > I have attached pdf and swf with this mail . > > > > > > > > > > > On Fri, Oct 30, 2009 at 3:19 AM, Chris Pugh <[email protected]>wrote: > >> zoom=<dpi> the resolution (default: 72) >> multiply=<times> Render everything at <times> the resolution >> >> are the only equivalent options in pdf2swf. >> >> As filip says, a bit stuck you may just well be, unless calling >> swfcombine, >> or amending the containing html. >> >> The Bounding Box is what it says it is. The frame containing the movie. >> A frame which is not necessarily the same size as the movie itself. >> >> HTH. >> >> Regards, >> >> >> Chris. >> >> 2009/10/29 filip sound <[email protected]>: >> > swf is scalable, why would you want to resize it? >> > >> > you can get the dimensions of the pdf pages to know how big your swfs >> will >> > be. >> > >> > just set the dimensions after they are loaded in your application. >> > you can keep the aspect ratio without any calculations like this: >> > >> > AS3: >> > _mc.width = 500; >> > _mc.scaleY = _mc.scaleX; >> > >> > if you want to save your cpu some work, turn on bitmapCaching for the >> loaded >> > MovieClip. >> > _mc is the Loader object or the content of the loader - i'd prefer 2nd >> > >> > in case you're not into as3 ... maybe you're lost :P >> > >> > filip >> > >> > On Thu, Oct 29, 2009 at 12:26 PM, Aparna More <[email protected]> >> wrote: >> >> >> >> But i want to set a perticular width and height for a swf file ... >> >> >> >> I need to resize the swf according to page size of pdf ... >> >> >> >> Using zoom=<dpi> could not set the appropriate width and height .. >> >> >> >> What is bound box for swf ?? Can i use it here ???? >> >> >> >> >> >> >> >> On Thu, Oct 29, 2009 at 4:03 PM, Chris Pugh <[email protected]> >> >> wrote: >> >>> >> >>> Tried the, >> >>> >> >>> zoom=<dpi> the resolution (default: 72) ? >> >>> >> >>> See, >> >>> >> >>> http://wiki.swftools.org/index.php/Pdf2swf_-s_parameters >> >>> >> >>> HTH. >> >>> >> >>> Regards, >> >>> >> >>> >> >>> Chris. >> >>> >> >>> >> >>> 2009/10/29 Aparna More <[email protected]>: >> >>> > Hi , >> >>> > >> >>> > >> >>> > I have downloaded SWFTOOL toolkit as i want to integrate it in my >> >>> > program i >> >>> > did some changes in the generated makefile to create library of >> pdf2swf >> >>> > instead of executables. >> >>> > >> >>> > I m using pdf2swf library for conversion . But now i want to resize >> my >> >>> > swf >> >>> > while converting from pdf to swf . >> >>> > >> >>> > Is there any way to acheive this ? >> >>> > >> >>> > Thanks in advance >> >>> > >> >>> > >> >>> > >> >>> > >> >>> > Thanks & Regards >> >>> > Aparna More >> >>> > >> >> >> > >> > >> > >
