From: kramm Date: Sun, 21 Jul 2002 13:59:57 +0000 (+0000) Subject: added rgb printout in backgroundcolor tag. X-Git-Tag: release-0-4-1~8 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=5f9742beec4337b37cf365afbea5b5c682847ccf;p=swftools.git added rgb printout in backgroundcolor tag. --- diff --git a/src/swfdump.c b/src/swfdump.c index 9a06d26..e776403 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -666,6 +666,13 @@ int main (int argc,char ** argv) if(!issprite) {mainframe++; framelabel = 0;} } + if(tag->id == ST_SETBACKGROUNDCOLOR) { + U8 r = swf_GetU8(tag); + U8 g = swf_GetU8(tag); + U8 b = swf_GetU8(tag); + printf(" (%02x/%02x/%02x)",r,g,b); + } + if(tag->id == ST_DEFINEBITSLOSSLESS || tag->id == ST_DEFINEBITSLOSSLESS2) { handleDefineBits(tag);