imageCrop doesn't accept argumentCollection

Description

<cfscript> img=imageRead("https://avatars1.githubusercontent.com/u/10973141?s=280&v=4") cfimage(action="writeToBrowser", source=img); imageCrop(img,50,10,100,100); crop= { image: image, x: 50, y: 10, height: 100, width: 100 }; imageCrop(argumentCollection=crop); cfimage(action="writeToBrowser", source=img); </cfscript>

throws Too few attributes in function [imageCrop]

https://trycf.com/gist/10261f1e2e3177d9894eb637d93d8591/lucee5?theme=monokai
https://docs.lucee.org/reference/functions/imagecrop.html

Environment

None

Activity

Show:

Pothys - MitrahSoft 22 September 2020 at 10:32

I've checked this ticket with the latest version 5.3.8.74-SNAPSHOT also and yes argument collection doesn't work with the function imagecrop(). it's easy to use imagecrop if argumentcollection works.

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 21 September 2020 at 17:27
Updated 19 February 2022 at 13:54

Flag notifications