|
From: strk <st...@ke...> - 2009-03-15 17:39:31
|
On Sun, Mar 15, 2009 at 12:15:46PM +1100, Justin Clift wrote: > If you're asking whether files that get extracted should have an > extension that matches their file type, then absolutely. Not really what I was asking. I'm thinking about an intermediate step, *before* extracting. This step would be expecting user to perform extraction manually, using another tool (until one is provided by Ming). A tool I know for this, currently, is swfextract from SWFTools. This tool extracts bitmaps into either JPEG files or PNG files and I dunno based on what. If I know what the policy is, we can use the same one to guess what would the filename be called when generating script code (C++,perl,php,python, whatever) from an SWF. An attempt to test this (see how swfextract extract bitmaps based on tag type): TAG_TYPE FILENAME PNG JPG ----------------------------------------------------- DEFINEBITS 2008-election.swf N Y DEFINEBITSJPEG2 215251_escapetheroom.swf N Y DEFINELOSSLESS2 2008-election.swf Y N DEFINELOSSLESS 215251_escapetheroom.swf Y N Question is: is it general that DEFINEBITS results in a jpg or can it be a png too ? (for example). --strk; Free GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! |