{"id":16310223,"url":"https://github.com/chuganzy/hcimage-bpg","last_synced_at":"2025-07-23T06:04:05.329Z","repository":{"id":25348508,"uuid":"28776057","full_name":"chuganzy/HCImage-BPG","owner":"chuganzy","description":"BPG decoder for iOS and OS X written in Obj-C++.","archived":false,"fork":false,"pushed_at":"2018-10-08T15:40:03.000Z","size":11841,"stargazers_count":59,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-11T02:48:05.967Z","etag":null,"topics":["bpg","carthage","cocoapods","ios","macos"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chuganzy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-04T14:15:22.000Z","updated_at":"2024-10-22T13:28:18.000Z","dependencies_parsed_at":"2022-08-21T03:20:35.164Z","dependency_job_id":null,"html_url":"https://github.com/chuganzy/HCImage-BPG","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/chuganzy/HCImage-BPG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuganzy%2FHCImage-BPG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuganzy%2FHCImage-BPG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuganzy%2FHCImage-BPG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuganzy%2FHCImage-BPG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chuganzy","download_url":"https://codeload.github.com/chuganzy/HCImage-BPG/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuganzy%2FHCImage-BPG/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266626115,"owners_count":23958344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bpg","carthage","cocoapods","ios","macos"],"created_at":"2024-10-10T21:25:28.463Z","updated_at":"2025-07-23T06:04:05.296Z","avatar_url":"https://github.com/chuganzy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/chuganzy/HCImage-BPG.svg?branch=master)](https://travis-ci.org/chuganzy/HCImage-BPG)\n[![codecov](https://codecov.io/gh/chuganzy/HCImage-BPG/branch/master/graph/badge.svg)](https://codecov.io/gh/chuganzy/HCImage-BPG)\n![CocoaPods](https://img.shields.io/cocoapods/v/HCImage+BPG.svg)\n![Carthage](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)\n![Platform](https://img.shields.io/cocoapods/p/HCImage+BPG.svg)\n\n# HCImage+BPG\n\nBPG (http://bellard.org/bpg/) decoder for iOS and macOS.\n\n## Features\n\n- Supports macOS\n- Supports iOS\n- Supports animation\n- Supports nullability\n\n## Usage\n\n### iOS\n\n- Objective-C\n\n```objc\nNSData *data = ...;\nUIImage *image = [UIImage imageWithBPGData:data];\n```\n\n- Swift\n\n```swift\nlet data: NSData = ...\nlet image: UIImage? = UIImage(BPGData: data)\n```\n\n### macOS\n\n- Objective-C\n\n```objc\nNSData *data = ...;\nNSImage *image = [NSImage imageWithBPGData:data];\n```\n\n- Swift\n\n```swift\nlet data: NSData = ...\nlet image: NSImage? = NSImage(BPGData: data)\n```\n\n## Installation\n\n### CocoaPods\n\n```\npod 'HCImage+BPG'\n```\n\n### Carthage\n\n```\ngithub \"chuganzy/HCImage-BPG\"\n```\n\n## License\n\nMIT.\n\n### libbpg\n\nhttps://github.com/thomas-huet/libbpg\n\nlibbpg 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).\n\nBPG 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuganzy%2Fhcimage-bpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchuganzy%2Fhcimage-bpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuganzy%2Fhcimage-bpg/lists"}