Latest 0.1.0
Homepage https://github.com/SDWebImage/SDWebImageBPGCoder
License MIT
Platforms ios 8.0, osx 10.10
Dependencies SDWebImage/Core, HCImage+BPG
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

This is a demo to show to build custom decoder for SDWebImage by embedding third-party framework.

Requirements

  • iOS 8
  • macOS 10.10

Installation

SDWebImageBPGCoder is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SDWebImageBPGCoder'

Usage

SDWebImageBPGCoder *BPGCoder = [SDWebImageBPGCoder sharedCoder];
[[SDWebImageCodersManager sharedInstance] addCoder:BPGCoder];
UIImageView *imageView;
NSURL *BPGURL;
[imageView sd_setImageWithURL:BPGURL];

Screenshot

The images are from BPG official site

Author

DreamPiggy

Thanks

HCImage-BPG

License

SDWebImageBPGCoder is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SDWebImageBPGCoder",
    "version": "0.1.0",
    "summary": "BPG decoder for SDWebImage plugin coder.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/SDWebImage/SDWebImageBPGCoder",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "DreamPiggy": "[email protected]"
    },
    "source": {
        "git": "https://github.com/SDWebImage/SDWebImageBPGCoder.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.10"
    },
    "source_files": "SDWebImageBPGCoder/Classes/**/*",
    "dependencies": {
        "SDWebImage/Core": [
            ">= 4.2"
        ],
        "HCImage+BPG": []
    }
}

Pin It on Pinterest

Share This