Package DE_EPAGES::Core::API::ImageOptimization
This module provides an API for image optimizations tools like optipng.
@EXPORT_OK |
Functions
MassOptiPng
Apply external OptiPng application to optimize the file size of the final png images. Uses executeable version of OptiPng via SystemCommand.
Syntax |
my $ReturnCode = MassOptiPng($aActualFullFileName, $hOptions); |
Example |
$self->OptiPng(["C:\\temp\\test.png", "C:\\temp\\test2.png"]); |
Input |
|
OptiPng
Apply external OptiPng application to optimize the file size of the final png image. Uses executeable version of OptiPng via SystemCommand.
Syntax |
my $ReturnCode = OptiPng($ActualFullFileName, $hOptions); |
Example |
$self->OptiPng("C:\\temp\\test.png"); |
Input |
|