swftools.git
19 years agoPatch from Moriyoshi Koizumi:
kramm [Sun, 3 Apr 2005 11:06:21 +0000 (11:06 +0000)]
Patch from Moriyoshi Koizumi:

1. making the resulting swf file importable as a runtime shared asset.

  Running with -e <name> creates a movie containing one sprite
  whose contents would all be put in the root if without -e.

  The result will show up in the same way as that with no option.

2. fitting images to the document's bounding box.

  Running with the -f option makes the images to the document's bounding
  box, while they are centered with their original size by default.

3. offseting images by arbitrary distance.

  -x (--xoffset) and -y (--yoffset) options determine the offsets of the
  produced images. For example, offsetting an image by -320px means
  moving the registration point 320px right of the image's left border
  on the screen.

19 years agofixed swf_FontEnumerate() prototype
kramm [Sun, 3 Apr 2005 11:05:59 +0000 (11:05 +0000)]
fixed swf_FontEnumerate() prototype

19 years agofixed jpegtable merging
kramm [Sun, 3 Apr 2005 11:05:36 +0000 (11:05 +0000)]
fixed jpegtable merging

19 years agofixed swf_FontEnumerate()
kramm [Sun, 3 Apr 2005 11:05:09 +0000 (11:05 +0000)]
fixed swf_FontEnumerate()

19 years ago* some clipping optimizations
kramm [Sun, 3 Apr 2005 11:04:46 +0000 (11:04 +0000)]
* some clipping optimizations
* z-buffer related fixes

19 years agostarted implementation of a z-buffer.
kramm [Sun, 3 Apr 2005 11:04:28 +0000 (11:04 +0000)]
started implementation of a z-buffer.

19 years agofixed anchor parsing
kramm [Fri, 1 Apr 2005 08:00:24 +0000 (08:00 +0000)]
fixed anchor parsing

19 years agonamed tags are now anchors by default.
kramm [Fri, 1 Apr 2005 07:59:58 +0000 (07:59 +0000)]
named tags are now anchors by default.

19 years ago* changed swf_fillgradient() prototype.
kramm [Fri, 1 Apr 2005 07:59:32 +0000 (07:59 +0000)]
* changed swf_fillgradient() prototype.
* image downscaling now dumps a <notice>

19 years agoadded some more info to the "out of memory" messages.
kramm [Fri, 1 Apr 2005 07:59:03 +0000 (07:59 +0000)]
added some more info to the "out of memory" messages.

19 years ago* optimized moveTo
kramm [Fri, 1 Apr 2005 07:58:39 +0000 (07:58 +0000)]
* optimized moveTo
* added prefix to gfxline_dump()

19 years agofixed swf_FontEnumerate() prototype
kramm [Fri, 1 Apr 2005 07:58:14 +0000 (07:58 +0000)]
fixed swf_FontEnumerate() prototype

19 years agolog files are now dos format
kramm [Fri, 1 Apr 2005 07:57:51 +0000 (07:57 +0000)]
log files are now dos format

19 years agoadded prefix to gfxline_dump()
kramm [Fri, 1 Apr 2005 07:54:22 +0000 (07:54 +0000)]
added prefix to gfxline_dump()

19 years agosome interface changes
kramm [Fri, 1 Apr 2005 07:51:26 +0000 (07:51 +0000)]
some interface changes

19 years agoadded swf_ImageGetNumberOfPaletteEntries2() function
kramm [Fri, 1 Apr 2005 07:50:56 +0000 (07:50 +0000)]
added swf_ImageGetNumberOfPaletteEntries2() function

19 years agofixed swf_FontEnumerate() prototype
kramm [Fri, 1 Apr 2005 07:50:29 +0000 (07:50 +0000)]
fixed swf_FontEnumerate() prototype

19 years agofixed compile-time problem
kramm [Fri, 1 Apr 2005 07:50:02 +0000 (07:50 +0000)]
fixed compile-time problem

19 years agoadded swf_GetSWFBackgroundColor() and swf_RenderSWF() functions
kramm [Sun, 27 Mar 2005 21:01:53 +0000 (21:01 +0000)]
added swf_GetSWFBackgroundColor() and swf_RenderSWF() functions

19 years agonew function swf_GetSWFBackgroundColor()
kramm [Sun, 27 Mar 2005 21:01:28 +0000 (21:01 +0000)]
new function swf_GetSWFBackgroundColor()

19 years ago* some bugfixes
kramm [Sun, 27 Mar 2005 21:01:06 +0000 (21:01 +0000)]
* some bugfixes
* added swf_RenderSWF() function

19 years agoswf_Shape2Free() now set's all free'd pointers to 0
kramm [Sun, 27 Mar 2005 21:00:44 +0000 (21:00 +0000)]
swf_Shape2Free() now set's all free'd pointers to 0

19 years agofixed a bug in swf_ExtractImage() for 8-bit palette lossless images
kramm [Sun, 27 Mar 2005 21:00:18 +0000 (21:00 +0000)]
fixed a bug in swf_ExtractImage() for 8-bit palette lossless images

19 years agofonts are exported now, too
kramm [Fri, 25 Mar 2005 10:58:17 +0000 (10:58 +0000)]
fonts are exported now, too

19 years agooptimized depth and character id handling. less depths are now used.
kramm [Fri, 25 Mar 2005 10:57:27 +0000 (10:57 +0000)]
optimized depth and character id handling. less depths are now used.

19 years agooptimized memory usage.
kramm [Fri, 25 Mar 2005 10:56:40 +0000 (10:56 +0000)]
optimized memory usage.

19 years agoadded some optimizations
kramm [Fri, 25 Mar 2005 10:56:24 +0000 (10:56 +0000)]
added some optimizations

19 years agogcc 2.95.x fixes
kramm [Fri, 25 Mar 2005 10:56:00 +0000 (10:56 +0000)]
gcc 2.95.x fixes

19 years agocommented out swf_ParseShapeData()
kramm [Mon, 7 Mar 2005 20:09:01 +0000 (20:09 +0000)]
commented out swf_ParseShapeData()

19 years agomade enumerateUsedIDs_styles() global.
kramm [Mon, 7 Mar 2005 20:08:36 +0000 (20:08 +0000)]
made enumerateUsedIDs_styles() global.

19 years agoadded support for additional fill styles.
kramm [Mon, 7 Mar 2005 20:08:08 +0000 (20:08 +0000)]
added support for additional fill styles.

19 years agoBrought up to date
kramm [Sun, 6 Mar 2005 20:28:45 +0000 (20:28 +0000)]
Brought up to date

19 years agoGenerated from configure.in
kramm [Sun, 6 Mar 2005 20:28:02 +0000 (20:28 +0000)]
Generated from configure.in

19 years agoremoved framerate>0 restriction in order to make Flash Communication Server
kramm [Sun, 6 Mar 2005 20:27:13 +0000 (20:27 +0000)]
removed framerate>0 restriction in order to make Flash Communication Server
compatible SWFs.

19 years agofixed sound truncation bug
kramm [Sun, 6 Mar 2005 20:26:42 +0000 (20:26 +0000)]
fixed sound truncation bug

19 years agoadded some comments
kramm [Sun, 6 Mar 2005 20:25:13 +0000 (20:25 +0000)]
added some comments

19 years agofixed Type0C handling.
kramm [Sun, 6 Mar 2005 20:20:27 +0000 (20:20 +0000)]
fixed Type0C handling.

19 years agofixed compiler warning
kramm [Sun, 6 Mar 2005 20:19:27 +0000 (20:19 +0000)]
fixed compiler warning

19 years agomade a log message more precise
kramm [Sun, 6 Mar 2005 20:18:54 +0000 (20:18 +0000)]
made a log message more precise

19 years ago* optimized swf_GetNumberOfPaletteEntries()
kramm [Sun, 6 Mar 2005 20:18:31 +0000 (20:18 +0000)]
* optimized swf_GetNumberOfPaletteEntries()
* fixed bug in swf_RemoveJPEGTables()

19 years agoadded a small optimization to swf_ImageGetNumberOfPaletteEntries().
kramm [Sun, 6 Mar 2005 20:18:13 +0000 (20:18 +0000)]
added a small optimization to swf_ImageGetNumberOfPaletteEntries().

19 years agofixed a bug where a non-loadable character shifts all other characters
kramm [Sun, 6 Mar 2005 20:17:51 +0000 (20:17 +0000)]
fixed a bug where a non-loadable character shifts all other characters
to incorrect encoding positions.

19 years agoBrought up to date
kramm [Sun, 27 Feb 2005 14:52:58 +0000 (14:52 +0000)]
Brought up to date

19 years agoGenerated from configure.in
kramm [Sun, 27 Feb 2005 14:48:54 +0000 (14:48 +0000)]
Generated from configure.in

19 years agofixed type 3 stroke/fill color problem.
kramm [Sun, 27 Feb 2005 14:46:07 +0000 (14:46 +0000)]
fixed type 3 stroke/fill color problem.

19 years agomade moveto take double as argument
kramm [Sun, 27 Feb 2005 14:45:40 +0000 (14:45 +0000)]
made moveto take double as argument

19 years agosome parser fixes.
kramm [Sun, 27 Feb 2005 14:45:12 +0000 (14:45 +0000)]
some parser fixes.

19 years agoadd a small value (0.0001) to the float parameters, so that
kramm [Sun, 27 Feb 2005 14:44:46 +0000 (14:44 +0000)]
add a small value (0.0001) to the float parameters, so that
e.g. 0.49999 isn't converted to 0.4.

19 years agoadded comments about maskcolors
kramm [Sun, 27 Feb 2005 07:36:27 +0000 (07:36 +0000)]
added comments about maskcolors

19 years agoimages are now stored in either jpeg or zlib, whatever is smaller.
kramm [Sun, 27 Feb 2005 07:35:24 +0000 (07:35 +0000)]
images are now stored in either jpeg or zlib, whatever is smaller.

19 years agoadded function swf_AddImage().
kramm [Sun, 27 Feb 2005 07:33:57 +0000 (07:33 +0000)]
added function swf_AddImage().

19 years agoadded dependency on ../lib/art/libart.a
kramm [Sat, 26 Feb 2005 19:34:13 +0000 (19:34 +0000)]
added dependency on ../lib/art/libart.a

19 years ago* re-added outline dumping for <trace> loglevel
kramm [Sat, 26 Feb 2005 19:33:48 +0000 (19:33 +0000)]
* re-added outline dumping for <trace> loglevel
* fixed dashed/dotted line handling

19 years ago* bugfixes for dashed/dotted lines
kramm [Sat, 26 Feb 2005 19:33:23 +0000 (19:33 +0000)]
* bugfixes for dashed/dotted lines

19 years ago* several image handling fixes
kramm [Sat, 26 Feb 2005 19:33:03 +0000 (19:33 +0000)]
* several image handling fixes
* issolesegment added

19 years agofixed path to libart.
kramm [Sat, 26 Feb 2005 19:32:34 +0000 (19:32 +0000)]
fixed path to libart.

19 years ago* added gfxline_dump implementation
kramm [Sat, 26 Feb 2005 19:32:11 +0000 (19:32 +0000)]
* added gfxline_dump implementation
* fixed dash routines

19 years agogfxtool_draw_dashed_line now also needs a phase
kramm [Sat, 26 Feb 2005 19:31:49 +0000 (19:31 +0000)]
gfxtool_draw_dashed_line now also needs a phase

19 years agofixed swf_ImageScale for 2x2 images
kramm [Sat, 26 Feb 2005 19:31:27 +0000 (19:31 +0000)]
fixed swf_ImageScale for 2x2 images

19 years agoautomake/autoconf fluctuations
kramm [Wed, 23 Feb 2005 20:50:14 +0000 (20:50 +0000)]
automake/autoconf fluctuations

19 years agoadded libart stuff.
kramm [Wed, 23 Feb 2005 20:49:50 +0000 (20:49 +0000)]
added libart stuff.

19 years agoGenerated from configure.in
kramm [Wed, 23 Feb 2005 20:49:18 +0000 (20:49 +0000)]
Generated from configure.in

19 years agoallow zero framerates
kramm [Wed, 23 Feb 2005 20:48:32 +0000 (20:48 +0000)]
allow zero framerates

19 years agoremoved extern "C" stuff- the header files do that themselves.
kramm [Wed, 23 Feb 2005 20:48:08 +0000 (20:48 +0000)]
removed extern "C" stuff- the header files do that themselves.

19 years ago* only scale images down
kramm [Wed, 23 Feb 2005 20:47:46 +0000 (20:47 +0000)]
* only scale images down
* store ppm images alwyas as lossless
* fixed libart include path

19 years agofixed error handling for missing zlib.
kramm [Wed, 23 Feb 2005 20:47:08 +0000 (20:47 +0000)]
fixed error handling for missing zlib.

19 years agoadded lib/art/Makefile
kramm [Tue, 22 Feb 2005 20:12:52 +0000 (20:12 +0000)]
added lib/art/Makefile

19 years agoBrought up to date
kramm [Tue, 22 Feb 2005 20:11:56 +0000 (20:11 +0000)]
Brought up to date

19 years agoGenerated from configure.in
kramm [Tue, 22 Feb 2005 20:11:31 +0000 (20:11 +0000)]
Generated from configure.in

19 years agoautomake/autoconf fluctuations
kramm [Tue, 22 Feb 2005 20:09:13 +0000 (20:09 +0000)]
automake/autoconf fluctuations

19 years agofixed handling of alpha palettes in PNG extraction.
kramm [Tue, 22 Feb 2005 20:08:43 +0000 (20:08 +0000)]
fixed handling of alpha palettes in PNG extraction.

19 years agoadded ../lib/art/libart.a dependency.
kramm [Tue, 22 Feb 2005 20:08:18 +0000 (20:08 +0000)]
added ../lib/art/libart.a dependency.

19 years agostarted to port to gfxdevice abstraction.
kramm [Tue, 22 Feb 2005 20:07:55 +0000 (20:07 +0000)]
started to port to gfxdevice abstraction.

19 years agoremoved SWF_OUTLINE- gfxdevice's outlines are now used.
kramm [Tue, 22 Feb 2005 20:07:28 +0000 (20:07 +0000)]
removed SWF_OUTLINE- gfxdevice's outlines are now used.

19 years agostarted to port output to gfxdevice abstraction.
kramm [Tue, 22 Feb 2005 20:06:59 +0000 (20:06 +0000)]
started to port output to gfxdevice abstraction.

19 years agoturned off checking, fixed compiler warnings.
kramm [Tue, 22 Feb 2005 20:06:26 +0000 (20:06 +0000)]
turned off checking, fixed compiler warnings.

19 years agoinitial revision.
kramm [Tue, 22 Feb 2005 20:04:56 +0000 (20:04 +0000)]
initial revision.

19 years agofixed png2swf -C bug.
kramm [Tue, 22 Feb 2005 20:04:09 +0000 (20:04 +0000)]
fixed png2swf -C bug.

19 years agonew function swf_ImageScale(), swf_SetLosslessImage().
kramm [Tue, 22 Feb 2005 20:03:45 +0000 (20:03 +0000)]
new function swf_ImageScale(), swf_SetLosslessImage().

19 years agoseveral small fixes
kramm [Tue, 22 Feb 2005 20:03:20 +0000 (20:03 +0000)]
several small fixes

19 years agoadded libart compilation
kramm [Tue, 22 Feb 2005 20:02:52 +0000 (20:02 +0000)]
added libart compilation

19 years agoadded hash_md5()
kramm [Tue, 22 Feb 2005 20:02:24 +0000 (20:02 +0000)]
added hash_md5()

19 years agomd5_calc is now reentrant.
kramm [Tue, 22 Feb 2005 20:01:59 +0000 (20:01 +0000)]
md5_calc is now reentrant.

19 years agolibart 2.3.16
kramm [Tue, 22 Feb 2005 19:25:40 +0000 (19:25 +0000)]
libart 2.3.16

19 years agolibart 2.3.16
kramm [Tue, 22 Feb 2005 18:53:50 +0000 (18:53 +0000)]
libart 2.3.16

19 years agofixed log output in case only t1lib is activated.
kramm [Tue, 22 Feb 2005 18:52:56 +0000 (18:52 +0000)]
fixed log output in case only t1lib is activated.

19 years agonew functions swf_ImageScale(), swf_SetLosslessImage().
kramm [Tue, 22 Feb 2005 18:52:31 +0000 (18:52 +0000)]
new functions swf_ImageScale(), swf_SetLosslessImage().

19 years agofixed negative width/height bug
kramm [Tue, 22 Feb 2005 18:51:41 +0000 (18:51 +0000)]
fixed negative width/height bug

19 years agosome small logging changes
kramm [Tue, 22 Feb 2005 18:51:15 +0000 (18:51 +0000)]
some small logging changes

19 years agofixed "emai" bug.
kramm [Sun, 20 Feb 2005 19:51:03 +0000 (19:51 +0000)]
fixed "emai" bug.

19 years agoremoved swfoutput_drawimagelosslessN function
kramm [Sun, 20 Feb 2005 19:50:02 +0000 (19:50 +0000)]
removed swfoutput_drawimagelosslessN function

19 years agoreworked image code.
kramm [Sun, 20 Feb 2005 19:49:35 +0000 (19:49 +0000)]
reworked image code.

19 years agoheader for cmyk.cc
kramm [Sun, 20 Feb 2005 19:49:07 +0000 (19:49 +0000)]
header for cmyk.cc

19 years agoadded cmyk.cc.
kramm [Sun, 20 Feb 2005 19:48:21 +0000 (19:48 +0000)]
added cmyk.cc.

19 years agonew CMYK-RGB code
kramm [Sun, 20 Feb 2005 19:47:00 +0000 (19:47 +0000)]
new CMYK-RGB code

19 years agofixed overflow error
kramm [Tue, 15 Feb 2005 20:10:24 +0000 (20:10 +0000)]
fixed overflow error

19 years agoinitial revision
kramm [Tue, 15 Feb 2005 20:09:58 +0000 (20:09 +0000)]
initial revision

19 years agoOn *nix, png2swf couldn't find 'foo.Png' if command line was given as
dseg [Thu, 10 Feb 2005 01:06:01 +0000 (01:06 +0000)]
On *nix, png2swf couldn't find 'foo.Png' if command line was given as
'png2swf foo'.
Fixed.

19 years agoGenerated from configure.in release-0-6-3
kramm [Sun, 6 Feb 2005 17:28:17 +0000 (17:28 +0000)]
Generated from configure.in

19 years agolibungif fix: accept only newer versions of the library
kramm [Sun, 6 Feb 2005 17:27:26 +0000 (17:27 +0000)]
libungif fix: accept only newer versions of the library