无法设法提取或转换SWF文件,因为它们似乎已损坏

时间:2019-04-05 11:57:40

标签: image flash swfobject

所以我从网站上提取了一堆swf文件,它们是照片。

我打算做的是使用swf工具对其进行转换。

无论如何,我最终都会得到:

  

./ 503141211.swf不是有效的SWF文件或包含错误。

举例来说,我尝试用:

swfrender 2773003.swf -o test.png

知道为什么会这样吗?

如果需要,您可以在其中找到文件之一: Link to file

否则,您是否有解决方案可以从此链接中提取图像?

1 个答案:

答案 0 :(得分:1)

Your SWF files are already in JPEG format.

Solution: Try renaming them from .swf to .jpg.

Extended version:
If you ever suspect some file corruption, then first check the bytes with a hex-editor. Correct SWF beginning bytes are 43 57 53 (CWS) or sometimes begins with bytes 46 57 53 (FWS).

Your linked SWF file begins with FF D8 FF which is usually expected in JPEG files.
Also seeing JFIF signature confirms that this is a JPEG image file (not a Flash SWF file).

So after renaming from 3503270035.swf to 3503270035.jpg we get this result in image viewer:

enter image description here