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.
Both L_OptOptimizeBuffer and L_OptOptimizeDir, require optimization options for optimizing images. The user can get the default options by calling the L_OptGetDefaultOptions function.
For more information, refer to:
LEAD Image optimizer supported formats
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET