https://github.com/blacksenator/sff2png
A converter to output a Structured Fax File (SFF) as PNG
https://github.com/blacksenator/sff2png
fax modified-huffman sff structured-fax-file
Last synced: 5 months ago
JSON representation
A converter to output a Structured Fax File (SFF) as PNG
- Host: GitHub
- URL: https://github.com/blacksenator/sff2png
- Owner: blacksenator
- License: mit
- Created: 2022-09-19T07:11:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T08:06:48.000Z (over 3 years ago)
- Last Synced: 2025-05-08T10:16:39.602Z (about 1 year ago)
- Topics: fax, modified-huffman, sff, structured-fax-file
- Language: PHP
- Homepage:
- Size: 829 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sff2png
## 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
## Installation
You can install it through Composer:
```js
"require": {
"blacksenator/sff2png": "^1.0"
},
```
or
```console
git clone https://github.com/blacksenator/sff2png.git
```
## Usage
```PHP
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