Giter Club home page Giter Club logo

libswf's Introduction

libswf

pipeline status Build status coverage report license

libswf is a C++17 library for extracting and replacing SWF resources.

Implemented

  • Export SWF as EXE using Adobe Flash Player projector.
  • Import SWF from EXE created with Adobe Flash Player projector.
  • Zlib and LZMA compress / decompress SWF.
  • Export and replace MP3.
  • Export and replace images of DefineBitsLossless and DefineBitsLossless2 tags.
  • Export and replace binary data of DefineBinaryData tag.
  • Serializing and deserializing AMF0 and AMF3 (not all data types). Exporting and importing to JSON.

Usage example

See HF Workshop.

Build

See documentation/BUILD.md.

Methodology

See documentation/METHODOLOGY.md.

Contributing

See documentation/CONTRIBUTING.md.

Documentation

Documentation is generated using Doxygen (and doxywizard). Needs code review.

Copyright

Copyright (c) 2018-2021 David Gonçalves

License

This project uses the MIT license.

Third-Party Libraries

Project Author(s) License Comments
zlib Jean-loup Gailly (compression) and Mark Adler (decompression) zlib Used for compressing and decompressing the SWF using the zlib algorithm. Also used for compressing and decompressing image data.
LZMA SDK Igor Pavlov public domain Used for compressing and decompressing the SWF using the LZMA algorithm.
liblzma Original by Lasse Collin. Developed by The Tukaani Project. public domain Not in use. Alternative for LZMA SDK.
minimp3 lieff CC-0 Used to verify the sample rate of the MP3 file, and also for removing the MP3 file's ID3 metadata, leaving only the MP3 frames.
LodePNG Lode Vandevenne zlib Exporting and importing images in PNG format.
json nlohmann MIT Used for exporting and importing AMF format to and from JSON.
fifo_map nlohmann MIT Used for ordered JSON.
Catch2 Phil Nash. Various contributors. BSL-1.0 Used for testing.

Table generated with: https://www.tablesgenerator.com/markdown_tables

Credits

Project badge images created with https://shields.io/.

libswf's People

Contributors

mangad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.