LEADTOOLS provides functionality to optimize certain images file formats, by saving images using the optimal bits per pixel, based on specific optimization options. For more information about the file formats that can be optimized, refer to LEAD Image optimizer supported formats.
To optimize an image buffer in memory use the L_OptOptimizeBuffer function.
To optimize an entire directory of images and save the optimized images to another directory, use the L_OptOptimizeDir function.
For more information, refer to:
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries