ShockwaveFlash 1.8.0
dotnet add package ShockwaveFlash --version 1.8.0
NuGet\Install-Package ShockwaveFlash -Version 1.8.0
<PackageReference Include="ShockwaveFlash" Version="1.8.0" />
<PackageVersion Include="ShockwaveFlash" Version="1.8.0" />
<PackageReference Include="ShockwaveFlash" />
paket add ShockwaveFlash --version 1.8.0
#r "nuget: ShockwaveFlash, 1.8.0"
#:package ShockwaveFlash@1.8.0
#addin nuget:?package=ShockwaveFlash&version=1.8.0
#tool nuget:?package=ShockwaveFlash&version=1.8.0
ShockwaveFlash
A fast, allocation-light reader and writer for the SWF (Shockwave Flash) binary format, for .NET 10.
Disassemble a .swf into a strongly-typed, mutable tag tree, edit it, then assemble it back — the
round-trip is lossless (byte-identical for canonically-encoded SWFs, validated on a real corpus).
dotnet add package ShockwaveFlash
using ShockwaveFlash;
using ShockwaveFlash.Tags;
var swf = ShockwaveFlashFile.Disassemble(File.ReadAllBytes("movie.swf"));
swf.Tags.RemoveAll(tag => tag.Metadata.Code is TagCode.Metadata);
File.WriteAllBytes("movie.trimmed.swf", swf.Assemble().ToArray());
Documentation
Part of the ShockwaveFlash project · MIT © Aerafal
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- SharpCompress (>= 0.49.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ShockwaveFlash:
| Package | Downloads |
|---|---|
|
ShockwaveFlash.Avm1
AVM1 (ActionScript 1/2 bytecode) decoder, encoder and data evaluator for the ShockwaveFlash SWF library. Disassemble DoAction bytecode to a typed action model, evaluate data scripts to a value tree, and write edits back. |
|
|
ShockwaveFlash.Rendering
Render SWF characters (shapes, sprites, timelines, images) parsed by ShockwaveFlash to SVG and to raster images (PNG/JPEG/WebP/GIF) through a native, cross-platform Skia backend. |
GitHub repositories
This package is not used by any popular GitHub repositories.