Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

appunite/bruno-ios

Repository files navigation

Build Status codecov

Bruno

This simple lib helps you to represent image in RGB565 format.

Example use:

// get some source image
let source = UIImage(...)

// resize image to 8x8pm, convert image from RGB8888 to RGB565 format
let data = source.encodeRGB565(width: 8, height: 8)

// convert image from RGB565 to RGB8888 format
let image = data?.decodeRGB565(width: 8, height: 8)

Installation

Carthage

If you use Carthage, you can add the following dependency to your Cartfile:

github "appunite/bruno-ios" "master"

CocoaPods

If your project uses CocoaPods, just add the following to your Podfile:

pod 'Bruno', :git => 'https://github.com/appunite/bruno-ios.git'

Xcode Sub-project

Submodule, clone, or download Bruno, and drag Bruno.xcodeproj into your project.

About

This simple lib helps you to represent image in RGB565 format

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors