An open API service indexing awesome lists of open source software.

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

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