diff --git a/vips/image.go b/vips/image.go index f36f2f1c..6efec45a 100644 --- a/vips/image.go +++ b/vips/image.go @@ -268,7 +268,7 @@ type PngExportParams struct { Palette bool Dither float64 Bitdepth int - Profile string // TODO: Use this param during save + Profile string } // NewPngExportParams creates default values for an export of a PNG image. diff --git a/vips/math.go b/vips/math.go index c7176f1f..b4e1bff3 100644 --- a/vips/math.go +++ b/vips/math.go @@ -13,7 +13,7 @@ func ValueOf(value float64) Scalar { return Scalar{value, false} } -// IsZero checkes whether the associated Scalar's value is zero. +// IsZero checks whether the associated Scalar's value is zero. func (s *Scalar) IsZero() bool { return s.Value == 0 && !s.Relative }