Convert SWF to PNG

前端 未结 4 1979
死守一世寂寞
死守一世寂寞 2020-12-15 07:28

I\'d like to be able to take a 1-frame SWF file and convert it to PNG through PHP. I\'m okay with using command-line tools to get this done.

How could I go about doi

相关标签:
4条回答
  • 2020-12-15 07:55

    See From Google: Flash screenshot

    0 讨论(0)
  • 2020-12-15 08:01

    not really a server based solution, but i developed an AIR utility to convert SWF to PNG sequences: http://swfrenderer.kurst.co.uk/

    0 讨论(0)
  • 2020-12-15 08:06

    Depending on the type of swf's you have you could try FFmpeg from the command line:

    ffmpeg -i movie.swf -f image2 -vcodec png movie%d.png
    
    0 讨论(0)
  • 2020-12-15 08:10

    you can use swftools.
    swfrender file.swf -X pixelsize -Y pixelsize -o output.png

    If only one between -X -Y parameter is specified then proportions are respected

    0 讨论(0)
提交回复
热议问题