Render Flash (SWF) frame as image (PDF,PNG,JPG)

后端 未结 3 1903
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-09 05:20

I would like to write a python script that takes a bunch of swf files and renders them to individual image files.

Each swf file has just one frame (text, pictures etc.)

3条回答
  •  失恋的感觉
    2021-02-09 06:20

    You could for example build an AIR app that loads each SWF, takes the screenshot and writes it to a file.

    The thing is you'll need to kick off something to do the render and, as far as i know, you can't do that without the player or some of its Open Source implementation.

    I think your best bet is going AIR, the SDK is free and cross-platform. If you are used to python, the AS3 necessary should be easy enough to pick up.

    HTH,

    J

提交回复
热议问题