소스 검색

Thumbnail comment fix

disintegration 10 년 전
부모
커밋
05ebd029ad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      resize.go

+ 1 - 1
resize.go

@@ -290,7 +290,7 @@ func Fit(img image.Image, width, height int, filter ResampleFilter) *image.NRGBA
 //
 // Usage example:
 //
-//		dstImage := imaging.Fit(srcImage, 100, 100, imaging.Lanczos)
+//		dstImage := imaging.Thumbnail(srcImage, 100, 100, imaging.Lanczos)
 //
 func Thumbnail(img image.Image, width, height int, filter ResampleFilter) *image.NRGBA {
 	thumbW, thumbH := width, height