Reference

Table of Contents  ▸  List of Commands  ▸  Mathematical Operators  ▸  pow◀  or    |    rad2deg  ▶

pow

Built-in command

Arguments:

Description:

Raise selected images to the power of specified value, image or mathematical expression, or compute the pointwise sequential powers of selected images.

(equivalent to shortcut command ^).

Examples of use:

• Example #1

$ gmic image.jpg div 255 +pow 0.5 mul 255

Command: image.jpg div 255 +pow 0.5 mul 255
Command: image.jpg div 255 +pow 0.5 mul 255

• Example #2

$ gmic image.jpg gradient pow 2 add pow 0.2

Command: image.jpg gradient pow 2 add pow 0.2