|
|
|
@ -271,13 +271,6 @@ func IsTypeSupported(t ImageType) bool
|
|
|
|
```
|
|
|
|
```
|
|
|
|
Check if a given image type is supported
|
|
|
|
Check if a given image type is supported
|
|
|
|
|
|
|
|
|
|
|
|
#### func PrintMemoryStats
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
|
|
|
|
func PrintMemoryStats()
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Print Go memory and garbage collector stats. Useful for debugging
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### func Read
|
|
|
|
#### func Read
|
|
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
```go
|
|
|
|
@ -295,8 +288,8 @@ func Resize(buf []byte, o Options) ([]byte, error)
|
|
|
|
```go
|
|
|
|
```go
|
|
|
|
func Shutdown()
|
|
|
|
func Shutdown()
|
|
|
|
```
|
|
|
|
```
|
|
|
|
Explicit thread-safe libvips shutdown. Call this to drop caches. If libvips was
|
|
|
|
Thread-safe function to shutdown libvips. You could call this to drop caches as
|
|
|
|
already initialized, the function is no-op
|
|
|
|
well. If libvips was already initialized, the function is no-op
|
|
|
|
|
|
|
|
|
|
|
|
#### func VipsDebug
|
|
|
|
#### func VipsDebug
|
|
|
|
|
|
|
|
|
|
|
|
@ -505,9 +498,9 @@ Add text as watermark on the given image
|
|
|
|
#### func (*Image) Zoom
|
|
|
|
#### func (*Image) Zoom
|
|
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
```go
|
|
|
|
func (i *Image) Zoom(level int) ([]byte, error)
|
|
|
|
func (i *Image) Zoom(factor int) ([]byte, error)
|
|
|
|
```
|
|
|
|
```
|
|
|
|
Zoom the image by the given factor
|
|
|
|
Zoom the image by the given factor. You should probably call Extract() before
|
|
|
|
|
|
|
|
|
|
|
|
#### type ImageMetadata
|
|
|
|
#### type ImageMetadata
|
|
|
|
|
|
|
|
|
|
|
|
@ -634,7 +627,6 @@ type VipsMemoryInfo struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### func VipsMemory
|
|
|
|
#### func VipsMemory
|
|
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
```go
|
|
|
|
|