Bug 20141 - PrintScreen of a SWF
Summary: PrintScreen of a SWF
Status: RESOLVED WORKSFORME
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other Windows (All)
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 08:08 UTC by Sylvain Hugues ebookers
Modified: 2009-02-16 09:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.