facebookincubator / spectrum

A client-side image transcoding library.
https://libspectrum.io
MIT License
1.99k stars 166 forks source link
android image-processing images ios transcoding

Spectrum

CircleCI

Spectrum is a cross-platform image transcoding library that can easily be integrated into an Android or iOS project to efficiently perform common image operations.

The Spectrum APIs incorporate declarative traits. This simplifies the usage for the developer by focusing on the desired outcome. At the same time it enables Spectrum to transparently choose the best execution sequence. Additionally, Spectrum makes common image operations simple by surfacing many difficult operations that are not typically exposed by platform frameworks. For example, some JPEG-to-JPEG operations like cropping are executed lossless, and disabling chroma sub-sampling when saving graphical JPEGs will lead to better quality final products.

Find out more at our website.

Requirements

Spectrum was built with mobile iOS and Android in mind but could be wrapped for any platform.

Getting started

Please refer to our Getting Started chapters in our documentation to start using Spectrum to transcode your images on Android and iOS.

Join the Spectrum community

Please use our issues page to let us know of any problems.

For pull requests, please see the CONTRIBUTING file for information on how to help out.

License

Spectrum is MIT-licensed.