module

ImageProcessing

A Ruby-Tempfile-like object: created empty on disk, reopened (and rewound) after the processor has written to its path, and deleted at process exit.

Constants

VERSION = "1.14.0"

Class methods

named_to_hash(kwargs : NamedTuple) : Hash(String, OptValue)

Converts NamedTuple kwargs (from generated method definitions) into a String-keyed options hash.

Source
to_opt(value : Array)

Normalizes a value coming from a method_missing-generated call site into an OptValue.

Source
to_opt(value : Hash)
Source
to_opt(value : UInt64) : OptValue

GType ids arrive as UInt64 from the Vips bindings; they fit into Int64, which is part of the OptValue union via Vips::Value.

Source
to_opt(value)
Source
to_vips_options(options : Hash(String, OptValue)) : Hash(String, ::Vips::Value)
Source
to_vips_value(value : ::Vips::Value) : ::Vips::Value

Converts an OptValue into a Vips::Value at the accumulator boundary.

Source
to_vips_value(value : File) : ::Vips::Value
Source
to_vips_value(value : Tempfile) : ::Vips::Value
Source
to_vips_value(value : Path) : ::Vips::Value
Source
to_vips_value(value : Array) : ::Vips::Value
Source
to_vips_value(value) : ::Vips::Value
Source
to_vips_values(values : Array(OptValue)) : Array(::Vips::Value)
Source
truthy?(value : OptValue) : Bool

Ruby-style truthiness for option values (only nil and false are falsy).

Source

Nested types