Skip to content

Repository files navigation

ShockwaveFlash

Build Docs License: MIT

Read, edit and write SWF (Shockwave Flash) files — their AVM1 ActionScript, and render them to images or SVG — entirely in code, on .NET 10. Fast, allocation-light, and round-trips losslessly.

Documentation

aerafaldev.github.io/ShockwaveFlash — guides for SWF reading/writing, AVM1 bytecode, the System.Text.Json-style serializer, and rendering.

Packages

Package Version Description
ShockwaveFlash NuGet Disassemble a .swf into a strongly-typed, mutable tag tree and assemble it back losslessly.
ShockwaveFlash.Avm1 NuGet Decode DoAction bytecode, evaluate data scripts to a typed value tree, edit, and map to your own records.
ShockwaveFlash.Rendering NuGet Render shapes, sprites, timelines and text to PNG/JPEG/WebP/GIF/PDF (Skia) and SVG.
dotnet add package ShockwaveFlash             # read / write SWF
dotnet add package ShockwaveFlash.Avm1        # AVM1 bytecode & data scripts
dotnet add package ShockwaveFlash.Rendering   # render to PNG/JPEG/WebP/GIF/PDF/SVG

Contributing

Issues and pull requests are welcome — see CONTRIBUTING.

License

MIT © Aerafal

About

A fast, allocation-light .NET 10 library to read and write the SWF (Shockwave Flash) binary format.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Used by

Contributors

Languages