Skip to content

Commit

Permalink
Merge pull request #7 from flownative/task/image-optimizers
Browse files Browse the repository at this point in the history
Add WebP image optimization tooling
  • Loading branch information
kdambekalns committed Jan 26, 2023
2 parents 7e2d31d + 5adfa15 commit 428ca10
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,18 @@ The included tools are:
| Netcat | nc | Universal TCP and UDP tool |
| Ghostscript | gs | Used for thumbnail rendering in Neos |

### Image optimization tools

In order to support image optimization for websites, the following tools
are available:

| Format | Commands |
|:-------|:---------------------------------------------------------------------------------------------|
| GIF | gifsicle, gifdiff, gifview |
| PNG | optipng, pngcrush, pngquant |
| JPEG | jpegoptim, cjpeg, djpeg, exifautotran, jpegexiforient, jpegtran, rdjpgcom, tjbench, wrjpgcom |
| WebP | cwebp, dwebp, gif2webp, img2webp, vwebp, webpinfo, webpmux |

## Cron

This image contains a very simple and naïve implementation for running a
Expand Down
2 changes: 1 addition & 1 deletion root-files/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ build_tools() {
# @return void
#
build_image_optimizers() {
packages_install optipng pngcrush pngquant gifsicle libjpeg-turbo-progs jpegoptim
packages_install optipng pngcrush pngquant gifsicle libjpeg-turbo-progs jpegoptim webp
}

# ---------------------------------------------------------------------------------------
Expand Down

0 comments on commit 428ca10

Please sign in to comment.