Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Feb 11, 2025
1 parent 4107296 commit 624b3b7
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# Resize

Image resizing for the [Go](http://go.dev) with common interpolation methods.
This fork aims to continue maintaining the project after it was archived upstream.

## Installation

Import into your Go module with the following command:

```bash
go get github.com/rymdport/resize
```

It's that easy!

## Usage

This package needs at least Go 1.19. Import package with
This package needs at least Go 1.19. Import package with:

```go
import "github.com/rymdport/resize"
Expand Down Expand Up @@ -88,14 +89,7 @@ func main() {
* JPEG images are stored in `image.YCbCr`. This image format stores data in a way that will decrease processing speed. A resize may be up to 2 times slower than with `image.RGBA`.


## Downsizing Samples

Downsizing is not as simple as it might look like. Images have to be filtered before they are scaled down, otherwise aliasing might occur.
Filtering is highly subjective: Applying too much will blur the whole image, too little will make aliasing become apparent.
Resize tries to provide sane defaults that should suffice in most cases.


## License

Copyright (c) 2012 Jan Schlicht <[email protected]>
Copyright (c) 2012 Jan Schlicht <[email protected]>.
Resize is released under a MIT style license.

0 comments on commit 624b3b7

Please sign in to comment.