Bug 20141

Summary: PrintScreen of a SWF
Product: swfdec Reporter: Sylvain Hugues ebookers <ebookers>
Component: libraryAssignee: swfdec ml <swfdec>
Status: RESOLVED WORKSFORME QA Contact: swfdec ml <swfdec>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description Sylvain Hugues ebookers 2009-02-16 08:08:36 UTC
Bonjour there,

I worship swfdec as it appears to meet my desperate needs.

My goal is to put and SWF and get back a JPG, 
The JPG would be a printscreen of the SWF, 
swfdec appears to do that : http://swfdec.freedesktop.org/wiki/ScreenShots

1 > I didn t really get how to install and use swfdec 
2 > I d like to use it dynamicly on Apache/PHP
something like that :
<?php
//abstract desired code :
//indicate swf
$bitmap = new SWFPrint('anim.swf');
//indicate new bitmap file to create
$bitmap.renderAsPrintScreen('MyAnimInBitmap.jpg');
?>

Am I dreaming too much ?

I f i can use it with PHP, Is it a librairy I have to install ?

Thanks to all of you, Sylvain.
Comment 1 Benjamin Otte 2009-02-16 09:08:28 UTC
swfdec-gnome ships the swfdec-thumbnailer program, which (apart from using PNG instead of JPG) does exactly what you want.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.