<commit_before># canvas-image-drop
A light weight library that allows you to drag and drop images from your filesystem or the browser onto a canvas and paint them.

### Bassic Implimentation:
```html
<!-- Include jQuery -->
<script src="js/jquery.min.js"></script>
<!-- Include droper -->
<script src="js/dropper.jq.js"></script>
<script type="text/javascript">
    // Get out canvas, save it and call imageDrop on it to detect and image being dropped
    var $canvas = $('#Canvas').imageDrop(function(image){
        // Call imagePainter to draw said image on the canvas
        $canvas.imagePainter({
            image: image,
            // Place image on the center of the canvas
            center: 'canvas'
        });
    });
</script>
```<commit_msg>Documented options<commit_after># canvas-image-drop
A light weight library that allows you to drag and drop images from your filesystem or the browser onto a canvas and paint them.

### Bassic Implimentation:
```html
<!-- Include jQuery -->
<script src="js/jquery.min.js"></script>
<!-- Include droper -->
<script src="js/dropper.jq.js"></script>
<script type="text/javascript">
    // Get out canvas, save it and call imageDrop on it to detect and image being dropped
    var $canvas = $('#Canvas').imageDrop(function(image){
        // Call imagePainter to draw said image on the canvas
        $canvas.imagePainter({
            image: image,
            // Place image on the center of the canvas
            center: 'canvas'
        });
    });
</script>
```

# Options
## .imageDrop()

## .imagePainter()
{'fraction_non_alphanumeric': 0.13073979591836735, 'fraction_numerical': 0.0, 'mean_word_length': 2.9225, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, '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': '2689724', 'n_tokens_mistral': 438, 'n_tokens_neox': 420, 'n_words': 166}