blacksenator/sff2png
最新稳定版本:v1.0
Composer 安装命令:
composer require blacksenator/sff2png
包简介
Converting structured FAX file into one or more PNG
README 文档
README
Purpose
This class provides functions to read structured FAX files (SFF) and convert them into PNG file(s).
Requirements
- PHP 7.3 or higher
- Composer (follow the installation guide at https://getcomposer.org/download/)
Installation
You can install it through Composer:
"require": { "blacksenator/sff2png": "^1.0" },
or
git clone https://github.com/blacksenator/sff2png.git
Usage
<?PHP require_once 'sffImager.php'; use blacksenator\sff\sffImager; $rawData = file_get_contents('Test_2.sff'); $sFFile = new sffImager($rawData); $images = $sFFile->getSFFasPNG($rawData); foreach ($images as $number => $image) { file_put_contents('FAX_page_' . ($number + 1) . '.png', $image); }
License
This script is released under MIT license.
Author
Copyright (c) 2022 Volker Püschel
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-20