Perfectly Clear SDK Documentation
Perfectly Clear SDK v9

Welcome to the Perfectly Clear SDK!. This guide will explain how to use the Perfectly Clear SDK to enable fully-automatic or interactive image corrections in your applications. In the Table of Contents on the left, the first several pages provide an overview of the SDK. Next you'll find several examples for various platforms, and finally a full reference section.

This SDK includes a large set of image quality improvements, as well as new functions, file support, and a pre-build command line application included with each SDK license.

Quick Introduction

Applying the Perfectly Clear corrections will require the following steps:

  1. Enabling License setup with PFC_SetProtectionPath
  2. Loading image data into a PFCIMAGE (either directly from existing memory raster data, or using PFCImageFile)
  3. Setting the corrections you want to apply in a PFCPARAM (detailed here)
  4. Apply the corrections with PFC_AutoCorrect(), or separately call PFC_Calc() and then PFC_Apply() functions
  5. Reading the corrected data out of the PFCIMAGE, or again using PFCImageFile to write the results to a JPEG or PNG file

There are three main functional reference sections - one for the standard C library (PerfectlyClearPro.h), one for .NET development platform (PerfectlyClearAdapter.cs), and one for Android ( The function names are very similar, and the calling patterns are nearly identical. They are easy to confuse when looking back and forth through examples and this document. The correction parameter structures are also slightly different across the three platforms. Our Workbench application allows exporting these parameters into code ready to copy/paste into your projects.

There are sample projects (Linux & OSX Sample Code, Windows Sample Code, C# Sample Code) that show this in all platforms we support. Our sample applications also read and write from JPEG and PNG image files, and can read .preset files, as exported from our Desktop Applications, to make setting the correction parameters as easy as possible.

This was build from 1fa5616c4f72e77c219dead912d9ab02d3810ecf on Fri 07-30-202115:15:58.84