# removeCompressionArtifacts method

Image removeCompressionArtifacts(

1. Image image

)

Upscale and enhance the image of a face. Important: This methods requires the `CompressionArtifactRemover` model to be loaded.

param image Source image to process. return The enhanced face. throws FaceException An error has occurred during Face Library execution.

## Implementation

    Image removeCompressionArtifacts(Image image) {
      Image enhancedImage = Image();
      var err = faceSDK.id3FaceAnalyser_RemoveCompressionArtifacts(_pHandle.value, image.handle, enhancedImage.handle);
      if (err != FaceError.success.value) {
        enhancedImage.dispose();
        throw FaceException(err);
      }
      return enhancedImage;
    }