enum

Vips::Enums::FailOn

Inherits Enum / Comparable / Value / Object

How sensitive loaders are to errors, from never stop (very insensitive), to stop on the smallest warning (very sensitive).

Each one implies the ones before it, so Error implies Truncated

Constants

None = 0

Never stop

Truncated = 1

Stop on image truncated, nothing else

Error = 2

Stop on serious error or truncation

Warning = 3

Stop on anything, even warnings

Instance methods

error?

Returns true if this enum value equals Error

Source
none?

Returns true if this enum value equals None

Source
truncated?

Returns true if this enum value equals Truncated

Source
warning?

Returns true if this enum value equals Warning

Source