Reference

Table of Contents  ▸  List of Commands  ▸  Values Manipulation  ▸  round◀  replace_str    |    roundify  ▶

round

Built-in command

Arguments:

Description:

Round values of selected images.

rounding_type can be { -1=backward | 0=nearest | 1=forward }.

Default values:

rounding_type=0.

Examples of use:

• Example #1

$ gmic image.jpg +round 100
Command: image.jpg +round 100
Command: image.jpg +round 100

• Example #2

$ gmic image.jpg mul {pi/180} sin +round
Command: image.jpg mul {pi/180} sin +round
Command: image.jpg mul {pi/180} sin +round