Hey,
just like last time,
http://git.gnome.org/cgit/swfdec-gnome/tree/thumbnailer/swfdec-thumbnailer.c
has the solution. The code that creates the image surface to render to
is even documented.
Cheers,
Benjamin
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
>
>