---
name: "Mojolicious::Plugin::AssetPack::Pipe::Jpeg"
section: "3pm"
platform: "linux"
package: "libmojolicious-plugin-assetpack-perl"
version: "2.15-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Mojolicious::Plugin::AssetPack::Pipe::Jpeg"
---

# Mojolicious::Plugin::AssetPack::Pipe::Jpeg(3pm)

Crush JPEG image files

## NAME

Mojolicious::Plugin::AssetPack::Pipe::Jpeg - Crush JPEG image files

## DESCRIPTION

Mojolicious::Plugin::AssetPack::Pipe::Jpeg can be used to crush "jpeg" image files.

This pipe is EXPERIMENTAL. Feedback wanted.

## ATTRIBUTES

### app

```
  $str = $self->app;
  $self = $self->app("jpegoptim");
```

Can be used to set a custom application instead of "jpegoptim".

### app\_args

```
  $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.

If no `$input` element is found in the "app\_args" list, then STDIN and STDOUT will be used instead.

## METHODS

### process

See "process" in Mojolicious::Plugin::AssetPack::Pipe.

## SEE ALSO

Mojolicious::Plugin::AssetPack.
