Gravel
A suite of libraries to parse, manipulate, generate and convert between various vector based animation file formats such as SWF, SVG and later formats like MNG.
Install / Use
/learn @simonwistow/GravelREADME
INSTRUCTIONS:
compile using :
% ./configure % make (or gmake if you're on a BSD-based system)
run using : % ./swf_parse [filename here] this provides a dump of all information in an SWF file and can also be made on its own by using '% make swf_parse'
%./text_extract [filename here] extracts all the text and urls from an SWF file and can also be made on its own by using '% make text_extract'
MANIFEST:
README : this file Makefile.in : the makefile for the project parser.[ch] : the test harness, prints out contents of an SWF : file in a close a manner to the official Macromedia parser. tag/*.c : specific tag parsing/destroying routines swf_parse.[ch] : miscellaneous parsing/constructors routines swf_destroy.[ch] : miscellaneous destructor routines swf_error.[ch] : error codes and code->string routine swf_types.h : the types print_utils.[ch] : utilities for printing our various types configure.ac : configure macros swf_memory.h.in : cope with architecture independant U32 etc oldswfparse.cpp : the official Macromedia code gpl.txt : the Gnu General Public licence TODO : stuff left todo dos.pl : a Perl script which turns DOS into Unix style line : endings text_extract.c : an app that will extract all the text and urls from an SWF lib_swfextract.c[h] : library built on top of libswfparse for extracting text, : urls and eventually images and sound
PROBLEMS:
There are issues, namely ... o getting records sucks c.f todo file o garbage collection is probably terrible o ... this is because I can't program C for toffee and have been learning as I go along. This is why the code is horrible in general. o Err, it's not finished
AUTHOR:
Simon Wistow email : simon@twoshortplanks.com homepage : http://www.twoshortplanks.com/simon/, http://www.twoshortplanks.com/flash/
LICENCE:
Copyright (C) 2001 Simon Wistow simon@twoshortplanks.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
