Mojolicious::Plugin::AssetPack::Pipe::Jpeg - Crush JPEG image files
Mojolicious::Plugin::AssetPack::Pipe::Jpeg can be used to crush "jpeg" image files.
This pipe is EXPERIMENTAL. Feedback wanted.
$str = $self->app; $self = $self->app("jpegoptim");
Can be used to set a custom application instead of "jpegoptim".
$array = $self->app_args; $self = $self->app_args([qw(-f --stdin --stdout)]);
Can be used to set custom "app" arguments. The special $input string in the argument list will be replaced with the path to a temp file holding the image data.
$input
If no $input element is found in the "app_args" list, then STDIN and STDOUT will be used instead.
See "process" in Mojolicious::Plugin::AssetPack::Pipe.
Mojolicious::Plugin::AssetPack.
To install Mojolicious::Plugin::AssetPack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::AssetPack
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::AssetPack
For more information on module installation, please visit the detailed CPAN module installation guide.