yoya/io_heif
Composer 安装命令:
composer require yoya/io_heif
包简介
HEIF library
README 文档
README
HEIF binary perser dumper, converter, powered by PHP. bidirectional converter with H.265/HEVC
install
% composer require yoya/io_heif
require
- IO_Bit
- https://github.com/yoya/IO_Bit
- IO_ISOBMFF
- https://github.com/yoya/IO_ISOBMFF
- IO_HEVC
- https://github.com/yoya/IO_HEVC
script (sample/*.php)
- heifdump.php
% php vendor/yoya/io_heif/sample/heifdump.php -f input.heic
type:ftyp(offset:0 len:24):File Type and Compatibility
major:mif1 minor:0 alt:mif1, heic
type:mdat(offset:24 len:139682):Media Data
_mdatId:557184717
_offsetRelative:8
_itemID:1
type:meta(offset:139706 len:328):Information about items
version:0 flags:0
type:hdlr(offset:139718 len:53):Handler reference
version:0 flags:0
componentType:
componentSubType:pict
(omit...)
- heiftree.php
% php vendor/yoya/io_heif/sample/heiftree.php -f input.heic
Props:
[1]: colr subtype:prof
[2]: hvcC profile:3 level:90 chroma:1
[3]: ispe width:512 height:512
(omit...)
Items:
[1]: dimg from:49 type:hvc1 method:0 ref:0 offset:28986 length:13529
[2]: dimg from:49 type:hvc1 method:0 ref:0 offset:42515 length:20507
(omit...)
[48]: dimg from:49 type:hvc1 method:0 ref:0 offset:804455 length:14580
[49]: pitm type:grid method:1 ref:0 offset:0 length:8
[50]: thmb from:49 type:hvc1 method:0 ref:0 offset:3995 length:22809
[51]: cdsc from:49 type:Exif method:0 ref:0 offset:26804 length:2182
- heiffromhevc.php
% php vendor/yoya/io_heif/sample/heiffromhevc.php -f input.hevc > output.heic
- heiftohevc.php
% php vendor/yoya/io_heif/sample/heiftohevc.php -f input.heic -r master xs> output.hevc
# iPhoneX depth map
% php sample/heiftohevc.php -f IMG.HEIC -r aux -u urn:com:apple:photo:2018:aux:portraiteffectsmatte
yoya/io_heif 适用场景与选型建议
yoya/io_heif 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 44 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 10 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「image」 「heif」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 yoya/io_heif 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 yoya/io_heif 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 yoya/io_heif 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
The Yii2 extension uses jQuery PrettyPhoto and OwlCarousel js and makes image galary from php array of structure defined.
Media Processing
Yii2 prettyPhoto image galary widget uses Lightbox view control jquery.prettyphoto.js
ISOBMFF library
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-19