Skip to content

Commit

Permalink
Merge pull request #26 from MitrahSoft/LDEV-4455
Browse files Browse the repository at this point in the history
Improved exception ImageSharpen() with gain argument for LDEV-4455
  • Loading branch information
michaeloffner authored Dec 18, 2023
2 parents 0824114 + 95bb1dd commit 953df66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static String call(PageContext pc, Object name, double gain) throws PageE

if (gain < -1.0 || gain > 2.0)
throw CFMLEngineFactory.getInstance().getExceptionUtil()
.createFunctionException(pc,"ImageSharpen",2,"gain","value must be between 1 and 2",null);
.createFunctionException(pc, "ImageSharpen", 2, "gain", "value must be between -1 and 2", null);
img.sharpen((float)gain);
return null;
}
Expand Down

0 comments on commit 953df66

Please sign in to comment.