Skip to content

Compression Library

Erin Benderoff edited this page Apr 13, 2018 · 1 revision

The library used to implement compression was SiliCompressor, an open source library that can be found here: https://github.com/Tourenathan-G5organisation/SiliCompressor

SiliCompressor compresses both images (including GIFs) and videos. It was set up by adding the following line to the Gradle build file: compile 'com.iceteck.silicompressorr:silicompressor:2.1'

With the library installed, images and videos can be compressed by calling the compress and compressVideo library methods, respectively. These methods perform the compression and return the file path of the compressed file.

Clone this wiki locally