The next generation of apngasm, the APNG Assembler. The apngasm CLI tool and library can assemble and disassemble APNG image files.
The next generation of apngasm, the APNG Assembler. The apngasm CLI tool and library can assemble and disassemble APNG image files.
The next generation of apngasm, the APNG Assembler.
If you just want pre-built libapngasm and apngasm:
OSX: For the latest apngasm use homebrew: brew install apngasm.
Windows: Click "releases" at the top of the github page and get the latest release.
GNU Linux: [Debian/Ubuntu/Mint/etc.] PPA.
apngasm uses CMake to provide cross platform build chains.
Install dependencies/build chain
sudo apt-get install cmake libpng-dev libboost-program-options-dev libboost-regex-dev libboost-system-dev libboost-filesystem-dev build-essentialsudo dnf install cmake libpng-devel boost-devel build-essentialGenerate Makefiles with CMake
mkdir build;
cd build;
cmake ../Make
makeInstalling or [optional] Build packages
You can either install directly or roll your own .deb package to keep it under system package
management.
To install, just do:
sudo make installTo make packages:
make packageThen install them:
sudo dpkg -i ./lib/package/libapngasm*.deb
sudo dpkg -i ./cli/package/apngasm*.debAssuming you have homebrew the build process is fairly simple. Without homebrew you'll need to provide cmake, boost, libpng and zlib yourself. To build with homebrew:
brew install cmake boost libpng lzlib icu4cexport LDFLAGS="-L/usr/local/opt/icu4c/lib"
export CPPFLAGS="-I/usr/local/opt/icu4c/include"mkdir build
cd build
cmake ..makeUnfortunately there are two issues with building on Windows:
If anyone familiar newer versions of Visual Studio and CMake on Windows would be willing to make any necessary adjustments or can provide instructions it would be much appreciated.
Building on Windows with MSYS2 is similar to building on Linux. The following packages are
necessary to build apngasm:
cmake gcc zlib-devel zlib mingw-w64-x86_64-libpng mingw-w64-x86_64-boost
Step by step:
pacman -Sy cmake gcc zlib-devel zlib mingw-w64-x86_64-libpng mingw-w64-x86_64-boostmkdir build;
cd build;
cmake -G"Unix Makefiles" ..makemake installCMAKE_GENERATOR="Unix Makefiles" make packageapngasm now uses SWIG to generate interface wrappers. Currently Java and Ruby are supported - but if you are building for ruby you may as well use the rapngasm gem.
Building for Java:
mkdir build
cd build
cmake -DJAVA=true ..
make
make java
make jarBuilding for Ruby (raw library, not using the rapngasm gem):
mkdir build
cd build
cmake -DRUBY=true ..
make
make rubyIf you'd like wrappers generated for another language we request you try and add it yourself and make a pull request. Each language has its own particular tweaks that may be neccesary so it's hard for us to implement on languages we aren't familiar with.
zlib/libpng
This version of apngasm is a joint production by Max Stepin and K.K. GenSouSha. apngasm is wholly copyright Max Stepin, all rights reserved.
No open issues yet, or sync has not completed.