Extract/export graphics from Flash *.swf file


/ Published in: Bash
Save to your folder(s)

Examples borrowed from http://ubuntuforums.org/showthread.php?t=966877 (comment 3)


Copy this code and paste it in your HTML
  1. swfextract source.swf
  2.  
  3. # Objects in file foo.swf:
  4. # [-i] 14 Shapes: ID(s) 2, 4, 20, 23, 59, 61, 63, 69, 72, 76, 79, 84, 87, 91
  5. # [-i] 17 MovieClips: ID(s) 5, 6, 15, 21, 25, 49, 55-57, 64, 65, 71, 78, 86, 93, 99, 103
  6. # [-j] 11 JPEGs: ID(s) 1, 3, 19, 22, 58, 62, 68, 75, 83, 90, 106
  7. # [-p] 1 PNG: ID(s) 60
  8. # [-f] 1 Frame: ID(s) 0
  9.  
  10.  
  11. swfextract -p 60 source.swf -o extracted.png
  12. swfextract -j 106 source.swf -o extracted.jpg
  13. ls
  14.  
  15. # source.swf
  16. # extracted.png
  17. # extracted.jpg

URL: http://www.swftools.org/swfextract.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.