how to convert swf format file to gif with PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
noahgenius
Forum Newbie
Posts: 3
Joined: Thu Jul 27, 2006 2:00 am

how to convert swf format file to gif with PHP?

Post by noahgenius »

how to convert swf format file to gif or other image format with PHP? Thanks
Offering PHP library is better :D

my msn is chenpixoart@hotmail.com
email: noahgenius@2911.net
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Why do you need to do that?
User avatar
dull1554
Forum Regular
Posts: 680
Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W

Post by dull1554 »

are you trying to take a flash movie and convert it to a animated gif?

if so i wouldnt want to do this with my webserver, im sure that would be very straining on the cpu, if its even possiable, i doubt you can do it because flash is run by a time line, there are individual frames, but they aret guarenteed to be sequential or anything like that, so as far as i know there isnt an easy to get each "frame" in a flash movie,
noahgenius
Forum Newbie
Posts: 3
Joined: Thu Jul 27, 2006 2:00 am

Post by noahgenius »

thank you for your reply,dull

I designed an RIA application to generate flash movies online and it had a function of uploading image files(gif,png or jpg) for the flash background . But now I also want to upload swf format files. So I need a command-line tool to convert swf to image file ,or complete it with PHP. Could you help me?
Locust
Forum Commoner
Posts: 31
Joined: Sat Jul 22, 2006 10:26 am

Post by Locust »

I doubt PHP can do this. You'll need a software package of some description to convert file formats. Try google.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

why can't you import the flash file as a resource like the images?
noahgenius
Forum Newbie
Posts: 3
Joined: Thu Jul 27, 2006 2:00 am

Post by noahgenius »

I have to import swf file at run-time
Post Reply