{"record":{"id":"4731335cd6c8be7d","repo":"phalcon/cphalcon","slug":"imagick-liquidrescale-failed","errorCode":null,"errorMessage":"Imagick::liquidRescale failed","messagePattern":"Imagick::liquidRescale failed","errorType":"exception","errorClass":"Phalcon\\Image\\Exceptions\\ResizeFailed","httpStatus":null,"severity":"error","filePath":"phalcon/Image/Adapter/Imagick.zep","lineNumber":194,"sourceCode":"        int rigidity = 0\n    ) -> <AbstractAdapter> {\n        var image, result;\n\n        /** @var ImagickNative $image */\n        let image = this->image;\n\n        image->setIteratorIndex(0);\n\n        while (true) {\n            let result = image->liquidRescaleImage(\n                width,\n                height,\n                deltaX,\n                rigidity\n            );\n\n            if (result !== true) {\n                throw new ResizeFailed();\n            }\n\n            if (image->nextImage() === false) {\n                break;\n            }\n        }\n\n        let this->width  = image->getImageWidth();\n        let this->height = image->getImageHeight();\n\n        return this;\n    }\n\n    /**\n     * Sets the limit for a particular resource in megabytes\n     *\n     * @param int $type\n     * @param int $limit","sourceCodeStart":176,"sourceCodeEnd":212,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Image/Adapter/Imagick.zep#L176-L212","documentation":"Error \"Imagick::liquidRescale failed\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Image/Adapter/Imagick.zep:194 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b7419de9cd0a8a3f48441ead84c9f8415d463e25","analyzedAt":"2026-08-21T06:21:18.811Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}