Latest 0.0.1
Homepage https://github.com/appunite/bruno-ios
License MIT
Platforms ios 8.0
Authors

Build Status
codecov

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.

Latest podspec

{
    "name": "Bruno",
    "version": "0.0.1",
    "summary": "This simple lib helps you to represent image in RGB565 format.",
    "description": "This simple lib helps you to represent image in RGB565 format.",
    "homepage": "https://github.com/appunite/bruno-ios",
    "license": "MIT",
    "authors": {
        "Emil Wojtaszek": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.1",
    "social_media_url": "https://www.appunite.com",
    "source": {
        "git": "https://github.com/appunite/bruno-ios.git",
        "branch": "master"
    },
    "source_files": "Bruno/**/*.swift"
}

Pin It on Pinterest

Share This