<commit_before># cgbi-to-png

[![Build Status](https://travis-ci.org/jakubknejzlik/cgbi-to-png.svg?branch=master)](https://travis-ci.org/jakubknejzlik/cgbi-to-png)

Revert Xcode PNG compression (CgBI) in plain javascript.


```
var cgbiToPng = require('cgbi-to-png');

var cgbiStream = fs.createReadStream(...);

cgbiToPng(fs.createReadStream(filePath),function(err,pngStream){
    // handle reverted pngStream (eg. pngStream.pipe(...))
});

```

# Contribution
If you find any bugs in this script, please create new issue.<commit_msg>readme update<commit_after># cgbi-to-png

[![Build Status](https://travis-ci.org/jakubknejzlik/cgbi-to-png.svg?branch=master)](https://travis-ci.org/jakubknejzlik/cgbi-to-png)

Revert Xcode PNG compression (CgBI) in plain javascript.


```
var cgbiToPng = require('cgbi-to-png');

var cgbiStream = fs.createReadStream(...);

cgbiToPng(fs.createReadStream(filePath),function(err,pngStream){
    // handle reverted pngStream (eg. pngStream.pipe(...))
});

```
{'fraction_non_alphanumeric': 0.17237903225806453, 'fraction_numerical': 0.0, 'mean_word_length': 4.981927710843373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7071043', 'n_tokens_mistral': 398, 'n_tokens_neox': 383, 'n_words': 61}