All Projects → chuganzy → Hcimage Bpg

chuganzy / Hcimage Bpg

Licence: mit
BPG decoder for iOS and OS X written in Obj-C++.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Hcimage Bpg

Gaugekit
Kit for building custom gauges + easy reproducible Apple's style ring gauges.
Stars: ✭ 997 (+1618.97%)
Mutual labels:  cocoapods, carthage
Cdalertview
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift
Stars: ✭ 1,056 (+1720.69%)
Mutual labels:  cocoapods, carthage
Fontblaster
Programmatically load custom fonts into your iOS and tvOS app.
Stars: ✭ 1,000 (+1624.14%)
Mutual labels:  cocoapods, carthage
Sica
🦌 Simple Interface Core Animation. Run type-safe animation sequencially or parallelly
Stars: ✭ 980 (+1589.66%)
Mutual labels:  cocoapods, carthage
Luautocompleteview
Highly configurable autocomplete view that is attachable to any UITextField
Stars: ✭ 55 (-5.17%)
Mutual labels:  cocoapods, carthage
Swiftysound
SwiftySound is a simple library that lets you play sounds with a single line of code.
Stars: ✭ 995 (+1615.52%)
Mutual labels:  cocoapods, carthage
Mtbbarcodescanner
A lightweight, easy-to-use barcode scanning library for iOS 8+
Stars: ✭ 1,085 (+1770.69%)
Mutual labels:  cocoapods, carthage
Swiftlyext
SwiftlyExt is a collection of useful extensions for Swift 3 standard classes and types 🚀
Stars: ✭ 31 (-46.55%)
Mutual labels:  cocoapods, carthage
Swiftymessenger
Swift toolkit for passing messages between iOS apps and extensions.
Stars: ✭ 48 (-17.24%)
Mutual labels:  cocoapods, carthage
Wstagsfield
An iOS text field that represents tags, hashtags, tokens in general.
Stars: ✭ 1,013 (+1646.55%)
Mutual labels:  cocoapods, carthage
Lgalertview
Customizable implementation of UIAlertViewController, UIAlertView and UIActionSheet. All in one. You can customize every detail. Make AlertView of your dream! :)
Stars: ✭ 1,027 (+1670.69%)
Mutual labels:  cocoapods, carthage
Threadly
Type-safe thread-local storage in Swift
Stars: ✭ 58 (+0%)
Mutual labels:  cocoapods, carthage
Centeredcollectionview
A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift
Stars: ✭ 965 (+1563.79%)
Mutual labels:  cocoapods, carthage
Grview
UIView and other UIKit elements with a gradient and other attributes for IOS
Stars: ✭ 39 (-32.76%)
Mutual labels:  cocoapods, carthage
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+1560.34%)
Mutual labels:  cocoapods, carthage
Sketchkit
A lightweight auto-layout DSL library for iOS & tvOS.
Stars: ✭ 40 (-31.03%)
Mutual labels:  cocoapods, carthage
Ctpanoramaview
A library that displays spherical or cylindrical panoramas with touch or motion based controls.
Stars: ✭ 951 (+1539.66%)
Mutual labels:  cocoapods, carthage
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-48.28%)
Mutual labels:  cocoapods, carthage
Istimeline
Simple timeline view written in Swift 3
Stars: ✭ 1,005 (+1632.76%)
Mutual labels:  cocoapods, carthage
Stravakit
Strava API Client built with Swift
Stars: ✭ 50 (-13.79%)
Mutual labels:  cocoapods, carthage

Build Status codecov CocoaPods Carthage Platform

HCImage+BPG

BPG (http://bellard.org/bpg/) decoder for iOS and macOS.

Features

  • Supports macOS
  • Supports iOS
  • Supports animation
  • Supports nullability

Usage

iOS

  • Objective-C
NSData *data = ...;
UIImage *image = [UIImage imageWithBPGData:data];
  • Swift
let data: NSData = ...
let image: UIImage? = UIImage(BPGData: data)

macOS

  • Objective-C
NSData *data = ...;
NSImage *image = [NSImage imageWithBPGData:data];
  • Swift
let data: NSData = ...
let image: NSImage? = NSImage(BPGData: data)

Installation

CocoaPods

pod 'HCImage+BPG'

Carthage

github "chuganzy/HCImage-BPG"

License

MIT.

libbpg

https://github.com/thomas-huet/libbpg

libbpg and bpgenc are released under the LGPL license (the FFmpeg part is under the LGPL, the BPG specific part is released under the BSD license).

BPG relies on the HEVC compression technology which may be protected by patents in some countries. Most devices already include or will include hardware HEVC support, so we suggest to use it if patents are an issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].