Get metrics using imagick function.
Additional example.