On Mon, 6 Aug 2012 11:47:18 +1200 (NZST) Tim Whittington <[email protected]> wrote:
> swfrender currently scales output 1:1 from the source .swf. > Assuming that the source swf file is produced by pdf2swf, the swf > size is actually translated from the original paper size at 1 pt == 1 > px, and so the overall PDF -> PNG rendering is done at 72dpi. > > I need to render the output images at higher DPI (e.g. for computer > display I'd like 100-150dpi), so I've added a -r option that scales > the output image based on a ratio of the target resolution to 72dpi > (e.g. 100DPI == 1.388 scale). > > This is slightly weird given that SWF and PNG both have pixel sizes, > so it only make sense if you assume a pdf2swf generation of the SWF, > so I'm not 100% sure this fits with the purpose of swfrender > (although it does seem to assume a pdf2swf generate input). > > cheers > tim Maybe it should be borne in mind, that screen independent units are Twips, not dpi, which are basically printing units ( and therefore inherently misleading). Screens are almost universally rated using dot pitch ( dot trio pitch ). SWF uses twips internally, and Flash player for positioning items on the Stage. Chris. --------------- SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>
