[Swfdec] how cat I read a resolution of swf?

Benjamin Otte otte at gnome.org
Sat Dec 26 05:19:08 PST 2009


just like last time,
has the solution. The code that creates the image surface to render to
is even documented.


On Mon, Dec 21, 2009 at 10:44 PM, Evgeny Zinoviev <luethus at gmail.com> wrote:
> Hi all :)
> I recently asked how to make a screenshot of swf file using swfdec:
> http://lists.freedesktop.org/archives/swfdec/2009-November/002468.html
> the problem is that when I specify the resolution of the screenshot (eg,
> 128), I get an image with the same width and height - 128. But if the
> content of the swf file is not a square there are a transparent strip at the
> top and bottom (or left and right) in the image.
> How can I read a resolution of swf file to the screenshot resoluton will
> proportional to resolution of swf?
> Evgeny
> _______________________________________________
> Swfdec mailing list
> Swfdec at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/swfdec

More information about the Swfdec mailing list