disintegration / imaging

Imaging is a simple image processing package for Go
MIT License
5.3k stars 443 forks source link

What is the different Resize and Thumbnail functions? #155

Closed delgec closed 2 years ago

delgec commented 2 years ago

Hi everyone

What is the different Resize and Thumbnail functions?

Example: resizedImg := imaging.Resize(srcImage, 100, 0, imaging.Lanczos)

resizedImg := imaging.Thumbnail(srcImage, 100, 0, imaging.Lanczos)

delgec commented 2 years ago

Solved: Thumbnail has a crop feature.