<commit_before>Resize
======

Image resizing for the [Go programming language](http://golang.org) that provides a few interpolation methods.

License
=======
<commit_msg>Documentation updated<commit_after>Resize
======

Image resizing for the [Go programming language](http://golang.org) that provides a few interpolation methods.

Installation
============

```bash
$ go get github.com/nfnt/resize
```

It's that easy!

Usage
=====

Import package with

```go
import "github.com/nfnt/resize"
```

Resize creates a scaled image with new dimensions (w,h) using the interpolation function interp.

```go
resize.Resize(w int, h int, img image.Image, interp InterpolationFunction) image.Image 
```

The provided interpolation functions are

- NearestNeighbor: Nearest-neighbor interpolation
- Bilinear: Bilinear interpolation
- Bicubic: Bicubic interpolation
- Lanczos3: Convolution with windowed Sinc function, a=3

License
=======

{'fraction_non_alphanumeric': 0.12809472551130247, 'fraction_numerical': 0.002152852529601722, 'mean_word_length': 5.458333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2668018', 'n_tokens_mistral': 288, 'n_tokens_neox': 263, 'n_words': 91}