diff --git a/image.go b/image.go index 488582a..3d13444 100644 --- a/image.go +++ b/image.go @@ -209,7 +209,7 @@ func (i *Image) Metadata() (ImageMetadata, error) { } // Interpretation gets the image interpretation type. -// See: https://jcupitt.github.io/libvips/API/current/VipsImage.html#VipsInterpretation +// See: https://libvips.github.io/libvips/API/current/VipsImage.html#VipsInterpretation func (i *Image) Interpretation() (Interpretation, error) { return ImageInterpretation(i.buffer) } diff --git a/metadata.go b/metadata.go index f6562d6..9cb5143 100644 --- a/metadata.go +++ b/metadata.go @@ -43,7 +43,7 @@ func ColourspaceIsSupported(buf []byte) (bool, error) { } // ImageInterpretation returns the image interpretation type. -// See: https://jcupitt.github.io/libvips/API/current/VipsImage.html#VipsInterpretation +// See: https://libvips.github.io/libvips/API/current/VipsImage.html#VipsInterpretation func ImageInterpretation(buf []byte) (Interpretation, error) { return vipsInterpretationBuffer(buf) } diff --git a/options.go b/options.go index 77f3ea8..403df13 100644 --- a/options.go +++ b/options.go @@ -89,7 +89,7 @@ const ( ) // Interpretation represents the image interpretation type. -// See: https://jcupitt.github.io/libvips/API/current/VipsImage.html#VipsInterpretation +// See: https://libvips.github.io/libvips/API/current/VipsImage.html#VipsInterpretation type Interpretation int const ( @@ -119,7 +119,7 @@ const ( // Extend represents the image extend mode, used when the edges // of an image are extended, you can specify how you want the extension done. -// See: https://jcupitt.github.io/libvips/API/current/libvips-conversion.html#VIPS-EXTEND-BACKGROUND:CAPS +// See: https://libvips.github.io/libvips/API/current/libvips-conversion.html#VIPS-EXTEND-BACKGROUND:CAPS type Extend int const ( diff --git a/vips.go b/vips.go index 6a77570..3ea008e 100644 --- a/vips.go +++ b/vips.go @@ -580,7 +580,7 @@ func vipsReduce(input *C.VipsImage, xshrink float64, yshrink float64) (*C.VipsIm func vipsEmbed(input *C.VipsImage, left, top, width, height int, extend Extend, background Color) (*C.VipsImage, error) { var image *C.VipsImage - // Max extend value, see: https://jcupitt.github.io/libvips/API/current/libvips-conversion.html#VipsExtend + // Max extend value, see: https://libvips.github.io/libvips/API/current/libvips-conversion.html#VipsExtend if extend > 5 { extend = ExtendBackground } @@ -733,4 +733,4 @@ func vipsGamma(image *C.VipsImage, Gamma float64) (*C.VipsImage, error) { return nil, catchVipsError() } return out, nil -} \ No newline at end of file +}