# checkColorizedImage method

bool checkColorizedImage(

1. Image image

)

Verifies if an image is colorized or grayscale.

param image Source image to process. return The boolean decision: True if colorized, False if grayscale. throws FaceException An error has occurred during Face Library execution.

## Implementation

    bool checkColorizedImage(Image image) {
      Pointer<Bool> pIsColorized = calloc();
      try {
        var err = faceSDK.id3FaceAnalyser_CheckColorizedImage(_pHandle.value, image.handle, pIsColorized);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vIsColorized = pIsColorized.value;
        return vIsColorized;
      } finally {
        calloc.free(pIsColorized);
      }
    }