<commit_before>The idea and some source code for this sample was taken from here:
http://blogs.msdn.com/b/eternalcoding/archive/2012/09/20/using-web-workers-to-improve-performance-of-image-manipulation.aspx

To run the sample you must serve the **index.html** file using a local server. Otherwise a CORS error is thrown when manipulating the image inside the canvas.<commit_msg>[2.4.2] adds sepia sample's readme<commit_after># Sepia Picture

The idea and some source code for this sample was taken from [here](http://blogs.msdn.com/b/eternalcoding/archive/2012/09/20/using-web-workers-to-improve-performance-of-image-manipulation.aspx)

To run the sample you must serve the **default*.html** file using a local server. Otherwise a CORS error is thrown when manipulating the image inside the canvas.

## Serve steps

1. If you don't have `serve` installed:
  * Run the command `npm install -g serve`
2. Open terminal and `cm` to this directory.
3. Run serve .
4. Open Chrome and browse `http://127.0.0.1:3000/`

## Sample description

* `defaultnoworker.html` executes the sample using web workers.
* `default-pjs.html` executes our sample implementation using web workers.
{'fraction_non_alphanumeric': 0.09803921568627451, 'fraction_numerical': 0.028132992327365727, 'mean_word_length': 4.385321100917431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '2952220', 'n_tokens_mistral': 377, 'n_tokens_neox': 337, 'n_words': 137}