Closed delgec closed 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)
Solved: Thumbnail has a crop feature.
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)