All Projects → lovell → avif-cli

lovell / avif-cli

Licence: Apache-2.0 License
Command line utility to convert images to AVIF, requires Node.js 12.13.0+

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to avif-cli

cavif
avif encoder, using libaom directly.
Stars: ✭ 94 (+147.37%)
Mutual labels:  avif, avif-encoder
imei
IMEI - ImageMagick Easy Install
Stars: ✭ 126 (+231.58%)
Mutual labels:  avif, avif-encoder
AVIFQuickLook
AVIF QuickLook plugin on macOS
Stars: ✭ 99 (+160.53%)
Mutual labels:  avif
avif-format
An AV1 Image (AVIF) file format plug-in for Adobe® Photoshop®
Stars: ✭ 95 (+150%)
Mutual labels:  avif
libheif-sharp
Provides .NET bindings for libheif.
Stars: ✭ 30 (-21.05%)
Mutual labels:  avif
sail
The missing small and fast image decoding library for humans (not for machines) ⛵ https://sail.software
Stars: ✭ 206 (+442.11%)
Mutual labels:  avif
imagecodecs
Image transformation, compression, and decompression codecs. Forked from https://pypi.org/project/imagecodecs
Stars: ✭ 56 (+47.37%)
Mutual labels:  avif
avif-sample-images
AVIF example images, licensed under CC-BY-SA.
Stars: ✭ 37 (-2.63%)
Mutual labels:  avif
Sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
Stars: ✭ 21,131 (+55507.89%)
Mutual labels:  avif

avif-cli

Command line utility to convert images to AVIF, requires Node.js 12.13.0+

Usage

$ npx avif

By default, will search current directory for image files and create AVIF variants.

Exit code is non-zero if one or more errors occured.

Options

      --input              Input file name(s), supports globs/wildcards
                    [string] [default: "*.{jpg,jpeg,tif,tiff,webp,png,gif,svg}"]
      --output             Output directory
                                                [string] [default: "/home/user"]
      --quality            Quality vs file size, 1 (lowest/smallest) to 100
                           (highest/largest)              [number] [default: 50]
      --speed              CPU effort vs file size, 0 (slowest/smallest) to 8
                           (fastest/largest)               [number] [default: 5]
      --lossless           Use lossless compression   [boolean] [default: false]
      --chromaSubsampling  Set to '4:2:0' to use chroma subsampling
                                                     [string] [default: "4:4:4"]
      --overwrite          Allow existing output files to be overwritten
                                                      [boolean] [default: false]
      --verbose            Write progress to stdout   [boolean] [default: false]
  -h, --help               Show help                                   [boolean]
      --version            Show version number                         [boolean]

Examples

npx avif --verbose
npx avif --input="**/*.{jpg,jpeg}" --output="/another/path" --overwrite
npx avif --input="images/*.*" --speed=0 --quality=30
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].