phalcon/cphalcon · error · Phalcon\Image\Exceptions\ResizeFailed

Imagick::liquidRescale failed

Error message

Imagick::liquidRescale failed

What it means

Error "Imagick::liquidRescale failed" thrown in phalcon/cphalcon.

Source

Thrown at phalcon/Image/Adapter/Imagick.zep:194

        int rigidity = 0
    ) -> <AbstractAdapter> {
        var image, result;

        /** @var ImagickNative $image */
        let image = this->image;

        image->setIteratorIndex(0);

        while (true) {
            let result = image->liquidRescaleImage(
                width,
                height,
                deltaX,
                rigidity
            );

            if (result !== true) {
                throw new ResizeFailed();
            }

            if (image->nextImage() === false) {
                break;
            }
        }

        let this->width  = image->getImageWidth();
        let this->height = image->getImageHeight();

        return this;
    }

    /**
     * Sets the limit for a particular resource in megabytes
     *
     * @param int $type
     * @param int $limit

View on GitHub (pinned to b7419de9cd)

When it happens

Trigger: Thrown at phalcon/Image/Adapter/Imagick.zep:194 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phalcon/cphalcon@b7419de9cd (2026-08-21). Data as JSON: /api/errors/4731335cd6c8be7d. Report an issue: GitHub.