Incorrect error message - ImageSharpen() with gain argument

Description

When using ImageSharpen( image=testImg, gain=4 ), it throws the error "Invalid call of the function [ImageSharpen], second Argument [gain] is invalid, value must be between 1 and 2".

But it accepts the range to be between -1 and 2 and It shows correct error message in ACF.

Environment

None

Activity

Show:

Michael Offner 18 December 2023 at 16:02

merged PR

Pothys - MitrahSoft 18 April 2023 at 10:20

I updated the error message for this ticket

Pull Request:

Fixed

Details

Assignee

Reporter

Priority

Fix versions

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

Sprint

Created 18 April 2023 at 09:53
Updated 18 December 2023 at 16:03
Resolved 18 December 2023 at 16:03