Intervention/image
Documented errors, page 3 of 4. Back to Intervention/image
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Unable to read exif data, division by zero | exception | warning | gd, resolution, exif, division-by-zero, corrupt-metadata |
| You must specify either 3 or 4 points to create a bezier… | exception | error | gd, bezier, drawing, points, validation, invalid-argument |
| Failed to read pixel color at position | exception | error | imagick, coordinates, colorat, negative-index, getimagepixelcolor |
| Failed to apply , unable to re-apply icc profile | exception | error | imagick, icc-profile, color-profile, strip, encoding |
| Image source must be a resource of type "file" or "stream" | exception | error | stream, resource, type-error, invalid-argument |
| Unable to set color via array access, use addColor() instead | exception | error | color, palette, arrayaccess, immutable-collection, php |
| Failed to create new core | exception | error | imagick, core, internal, animation |
| Image source must be an instance of Imagick | exception | error | imagick, type-error, decoder, invalid-argument |
| Failed to apply , unable to strip meta data | exception | error | imagick, metadata, strip, encoding |
| Unable to extract file extension from path "' . $this->path… | exception | error | php, intervention-image, encoder, file-path, save, invalid-argument |
| Failed to apply… | exception | error | imagick, colourspace, cmyk, modifier-exception, icc-profiles |
| Failed to apply ' . self::class . ', unable to draw text… | exception | error | imagick, text, font, annotation, freetype |
| Frame # could not be found in the image | exception | error | gd, frames, animation, out-of-bounds, gif |
| Can't write to path. Directory "' . $dir . '" is not… | exception | error | php, intervention-image, file, save, permissions, filesystem |
| GD driver can only decode colors in integer or array format | exception | error | gd, color, import, type-error, validation |
| Number of color channels must be 3 or 4 for | exception | error | color, oklab, colorspace, channel-count, validation, php |
| Unable to analyze image colors | exception | error | permissions, file-not-readable, splfileinfo, filesystem, intervention-image |
| Failed to retrieve image media type | exception | error | imagick, metadata, mime-type, empty-image |
| Base64-encoded data contains unsupported image type | exception | error | base64, unsupported-format, corrupt-file, decoder, gd-driver, file-upload |
| Failed to create color from input | exception | error | color, named-color, css, validation |
| Image source must be of type SplFileInfo | exception | error | splfileinfo, type-check, decoder, gd |
| Can't write to path. Existing file " . $path . " is not… | exception | error | php, intervention-image, file, save, permissions, filesystem |
| Failed to create new image | exception | error | imagick, memory, canvas, create, resource-limits |
| Failed to set image loop count | exception | error | imagick, animation, gif, loops, validation |
| Failed to rewind position of stream | exception | error | stream, rewind, non-seekable, pipe |
| GD driver can only decode array color format array | exception | error | gd, color, import, array-shape, validation |
| Data Uri contains unsupported image type | exception | error | data-uri, unsupported-format, decoding, validation |
| Property does not exists for | exception | error | config, options, validation, upgrade |
| Unable to decode binary data from empty string | exception | error | empty-string, invalid-argument, validation, decoder, binary-data |
| Failed to get frame offset | exception | error | imagick, animation, gif, offset, driver-exception |
| Color object must be of type | exception | error | color, decoder, type-check |
| Failed to get image loop count | exception | error | imagick, animation, gif, loops, metadata |
| Height must be greater than or equal to 1 | exception | error | geometry, resizer, validation, dimensions |
| Unable to find best color, failed to transform color space… | exception | error | color, colorspace, hsl, theme, palette |
| Argument $native must be of type | exception | error | imagick, type-error, driver, native-object |
| Failed to set frame offset | exception | error | imagick, animation, gif, offset, driver-exception |
| Invalid image size. Must be int<1, max> | exception | error | validation, dimensions, create, invalid-argument |
| Imagick PHP extension must be installed to use this driver | exception | critical | imagick, extension, missing-dependency, setup, docker |
| Invalid data uri scheme | exception | error | data-uri, parsing, validation |
| Failed to apply… | exception | error | brightness, imagefilter, modifier, gd |
| Base64-encoded data must be either of type string or… | exception | error | base64, decoder, type-check, input-validation |
| Failed to add image frame | exception | error | imagick, animation, frames, compose |
| Option does not exist on | exception | error | encoder, options, validation, format-specific |
| Unsupported image source type | exception | error | input, decoder, type-check, unsupported-type |
| Failed to iterate image frames | exception | error | imagick, iterator, frames, animation |
| Last frame not found in image | exception | error | imagick, frames, state, empty-collection, animation |
| Failed to apply… | exception | error | blur, imagefilter, modifier, gd |
| Failed to read image from stream | exception | error | stream, fread, network, read-error |
| Result must be instance of | exception | error | color, decoder, contract, custom-extension |
| Failed to encode image to GIF format | exception | error | gif, encoding, temp-dir, filesystem, gd |
| Input is not valid Base64-encoded data | exception | error | base64, decoding, input-validation |
| Image source must be data uri scheme of type string or | exception | error | data-uri, input-validation, type-error, decoding |
| Image source must be of type | exception | error | type-error, encoded-image, input-validation, decoding |
| Only RGB colorspace is supported by GD driver | exception | error | colorspace, cmyk, rgb, unsupported-feature, gd |
| Color channel value of | exception | error | insert, watermark, transparency, argument-validation, php |
| Can't write to path. Directory "' . $dir . '" does not exist | exception | error | php, intervention-image, file, save, directory, filesystem |
| Value for argument setNative() "$native" must be instanceof… | exception | error | gdimage, type-check, frame, php8 |
| Path is longer than the configured max. value of " … | exception | error | php, intervention-image, file, save, path, filesystem-limits |
| No decoders in array | exception | error | decoder, driver, configuration |
| Image source must be binary data of type string or instance… | exception | error | input-validation, type-error, decoding, string |
| Image source must be a resource of type 'file' or 'stream' | exception | error | stream, type-check, psr-7, gd |
| Failed to count image frames | exception | error | imagick, frames, state, count |
| Color channel value must be in range to | exception | error | polygon, drawing, argument-validation, modifier, php |
| Unable to calculate box size of font | exception | error | font, ttf, freetype, text-rendering, gd |
| Value for disposal method "$method" must be 0, 1, 2 or 3 | exception | error | gif, disposal-method, validation, frame |
| Frame # | exception | warning | imagick, frames, index-out-of-range, animation |
| Unable to parse CMYK color from input | exception | error | pixelate, argument-validation, modifier, php |
| GD PHP extension must be installed to use this driver | exception | critical | gd, php-extension, missing-dependency, docker |
| Failed to invert color | exception | error | colorize, color, argument-validation, modifier, php |
| First frame not found in image | exception | error | imagick, frames, state, empty-collection, animation |
| Number of color channels must be 4 or 5 for | exception | error | reduce-colors, quantization, argument-validation, php |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Failed to apply… | exception | error | |
| Argument $driver must be an implementation of… | exception | error | |
| File " " contained in SplFileInfo was not found in directory | exception | error | |
| File " " contained in SplFileInfo is no file in directory | exception | error | |
| Failed to resolve decoder | exception | error | |
| Decoder must implement… | exception | error | |
| Directory " " contained in SplFileInfo is not readable | exception | error | |
| Color level for argument $green must be in range -100 to 100 | exception | error | |
| Position must be either integer or a percent value as string | exception | error | |
| Color level for argument $blue must be in range -100 to 100 | exception | error | |
| Unable to create file extension from | exception | error | |
| Color level for argument $red must be in range -100 to 100 | exception | error | |
| Unable to retrieve unsupported file extension for format | exception | error | |
| Target colorspace " " is not supported by driver | exception | error | |
| File " " contained in SplFileInfo is not readable | exception | error | |
| Unable to create media type from | exception | error | |
| Unable to retrieve unsupported media type from format | exception | error | |
| Unable to create media type from | exception | error | |
| The stroke width must be in the range from 0 to 10 | exception | error | |
| Invalid position argument. Must be int<0, max> | exception | error |