LEADTOOLS provides functionality to optimize certain images file formats, by saving images using the optimal bits per pixel, based on specific optimization options. Image optimization is a balance between image quality and file size. The goal of image optimization is to shrink an image file's size as much as possible while maintaining maximum image quality. Smaller file size decreases web page load times and reduces the amount of storage space required for images. For more information about the file formats that can be optimized, refer to LEAD Image Optimization Supported Formats.
To optimize an image buffer in memory use the ImageOptimizer.OptimizeBuffer command.
To optimize an entire directory of images and save the optimized images to another directory, use the ImageOptimizer.OptimizeDirectory command.
Both ImageOptimizer.OptimizeBuffer and ImageOptimizer.OptimizeDirectory require that the user fill in certain optimization options. For more information, refer to Leadtools.ImageOptimization.ImageOptimizerOptions and Leadtools.ImageOptimization Namespace.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document