[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] [PATCH] resolution based output scaling for swfren
Re: [Swftools-common] [PATCH] resolution based output scaling for swfrender
Sat, 25 Aug 2012 16:48:20 -0700
On Mon, Aug 06, 2012 at 11:47:18AM +1200, Tim Whittington <address@hidden>
> 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).
I applied this patch as well. I doubt many people besides you are going
to use the -r option, but hey- swfrender is only for highly specific use
cases, anyway :)