The OPTIMIZEIMAGEDIRINFO structure provides information about the image(s) being optimized.
typedef struct _tagOPTIMIZEIMAGEDIRINFO
} OPTIMIZEIMAGEDIRINFO, * pOPTIMIZEIMAGEDIRINFO;
Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.
A character string that contains the original full file name.
A character string that contains the optimized full file name.
Value that represents the current status. If an error occurred during image optimization, this will be < SUCCESS. Possible values are:
|<SUCCESS||An error occurred.|
|SUCCESS|| Indicates that all selected and supported files in the directory(s) have been optimized successfully.|
|OPTIMIZE_DIR_PRE_OPTIMIZINGIMAGE|| Indicates that the image specified in szOrgFileName is about to be optimized. You can update the optimization options by updating the structure referenced by pOptImgOptions.|
|OPTIMIZE_DIR_OPTIMIZINGIMAGE|| Indicates that the image specified in szOrgFileName is being optimized. Information on the percent of optimization that has been completed can be found in nFilePercent and nTotalPercent.|
Value that represents the percentage of the original file that has been optimized, when the nStatusCode is OPTIMIZE_DIR_OPTIMIZINGIMAGE.
Value that represents the percentage of all files that have been optimized, when nStatusCode is equal to OPTIMIZE_DIR_OPTIMIZINGIMAGE.
Value that represents the total number of files in the directory to be optimized.
Pointer to a FILEINFO structure that contains information about the file specified in szOrgFileName. This pointer is valid only inside the callback function.
Pointer to an OPTIMIZEIMAGEOPTIONS structure that contains the optimization options to be used in the optimization operation. This pointer is valid only inside the callback function. You can update the optimization options by updating the optimization options structure values pointed to by pOptImgOptions ONLY if nStatusCode = OPTIMIZE_DIR_PRE_OPTIMIZINGIMAGE.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries