Vix.Vips (vix v0.3.0) View Source
Link to this section Summary
Functions
Get the maximum number of operations we keep in cache.
Get the maximum number of tracked files we allow before we start dropping cached operations.
Get the maximum amount of tracked memory we allow before we start dropping cached operations.
Set the maximum number of operations we keep in cache.
Set the maximum number of tracked files we allow before we start dropping cached operations.
Set the maximum amount of tracked memory we allow before we start dropping cached operations.
Returns the number of worker threads that vips should use when running a VipsThreadPool.
Sets the number of worker threads that vips should use when running a VipsThreadPool.
Get installed vips version
Link to this section Functions
Specs
cache_get_max() :: integer()
Get the maximum number of operations we keep in cache.
Specs
cache_get_max_files() :: integer()
Get the maximum number of tracked files we allow before we start dropping cached operations.
libvips only tracks file descriptors it allocates, it can't track ones allocated by external libraries.
Specs
cache_get_max_mem() :: integer()
Get the maximum amount of tracked memory we allow before we start dropping cached operations.
Specs
cache_set_max(integer()) :: :ok
Set the maximum number of operations we keep in cache.
Specs
cache_set_max_files(integer()) :: :ok
Set the maximum number of tracked files we allow before we start dropping cached operations.
Specs
cache_set_max_mem(integer()) :: :ok
Set the maximum amount of tracked memory we allow before we start dropping cached operations.
libvips only tracks file descriptors it allocates, it can't track ones allocated by external libraries.
Specs
concurrency_get() :: integer()
Returns the number of worker threads that vips should use when running a VipsThreadPool.
The final value is clipped to the range 1 - 1024.
Specs
concurrency_set(integer()) :: :ok
Sets the number of worker threads that vips should use when running a VipsThreadPool.
The special value 0 means "default". In this case, the number of threads is set by the environment variable VIPS_CONCURRENCY, or if that is not set, the number of threads availble on the host machine.
Specs
version() :: String.t()
Get installed vips version