Mojolic...e::Jpeg(3)

πŸ’– NAME πŸ’–

Welcome to the Mojolic...e::Jpeg(3) manual page, bestie! 🫢 The main character is Mojolicious::Plugin::AssetPack::Pipe::Jpeg, and its whole one-line thing is: Crush JPEG image files.

✨ DESCRIPTION ✨

So, like, Mojolicious::Plugin::AssetPack::Pipe::Jpeg can be used to crush "jpeg" image files. That’s the assignment. πŸ’…

This pipe is EXPERIMENTAL. Feedback wanted. Not me posting a feedback wanted signβ€”the page literally says feedback wanted, and honestly? Respect. πŸ‘‘

πŸŽ€ ATTRIBUTES πŸŽ€

🌸 app 🌸

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

Can be used to set a custom application instead of "jpegoptim". So if you want a different app doing the work, this is the little knob for that. ✨

πŸ¦‹ 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. That’s the fallback vibe. πŸ“

πŸ’œ METHODS πŸ’œ

⭐ process ⭐

See "process" in Mojolicious::Plugin::AssetPack::Pipe. That’s the whole sectionβ€”short and iconic. πŸ’«

🌈 SEE ALSO 🌈

  • Mojolicious::Plugin::AssetPack.

That’s the page, bestie πŸŽ€ β€” brought to you by perl v5.42.0, dated 2024-12-12, with the footer tag Mojolic...e::Jpeg(3). mwah πŸ’‹

πŸ“¦ where this page comes from