From 3e81c81f79e06453488150d075371f6429a8c241 Mon Sep 17 00:00:00 2001 From: faiface Date: Tue, 28 Feb 2017 18:29:30 +0100 Subject: [PATCH] remove debug prints --- data.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/data.go b/data.go index 1406660..105af4c 100644 --- a/data.go +++ b/data.go @@ -215,7 +215,6 @@ func PictureDataFromPicture(pic Picture) PictureData { // // The resulting image.NRGBA's Bounds will be equivalent of the PictureData's Bounds. func (pd PictureData) Image() *image.NRGBA { - fmt.Println(pd.Rect.Pos + pd.Rect.Size) bounds := image.Rect( int(math.Floor(pd.Rect.Pos.X())), int(math.Floor(pd.Rect.Pos.Y())), @@ -223,7 +222,6 @@ func (pd PictureData) Image() *image.NRGBA { int(math.Ceil(pd.Rect.Pos.Y()+pd.Rect.Size.Y())), ) nrgba := image.NewNRGBA(bounds) - fmt.Println(nrgba.Rect) i := 0 for y := bounds.Min.Y; y < bounds.Max.Y; y++ { @@ -239,8 +237,6 @@ func (pd PictureData) Image() *image.NRGBA { verticalFlip(nrgba) - fmt.Println(len(nrgba.Pix) / 4) - return nrgba }