New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vheemstra/avifenc-bin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vheemstra/avifenc-bin

avifenc bin-wrapper that makes it seamlessly available as a local dependency

2.1.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

avifenc-bin

This is a bin wrapper for the AVIF encoder from AOMedia's libavif for use with imagemin and the imagemin-avifenc plugin.

You probably want the imagemin-avifenc plugin instead.

Install

$ npm install --save @vheemstra/avifenc-bin

Usage

import {execFile} from 'node:child_process';
import avifenc from '@vheemstra/avifenc-bin';

execFile(avifenc, ['--output', 'output.avif', 'input.jpg'], err => {
	if (err) {
		throw err;
	}

	console.log('Image converted!');
});

CLI

$ npm install --global @vheemstra/avifenc-bin
$ avifenc --help

License & Info

MIT © Imagemin
libavif © 2019 Joe Drago (Released under the BSD License.)
This package is made by Philip van Heemstra
Based on jpegtran-bin by Sindre Sorhus

Linux binary from libavif 0.11.1-1 (vendor/source/libavif-0.11.1-1-x86_64.pkg.tar.zst):
https://archlinux.org/packages/community/x86_64/libavif/

Info on compiling avifenc for macOS:
https://www.reddit.com/r/AV1/comments/hdshcc/how_to_compile_avifenc_avifdec_and_avifdump_tools/

Keywords

imagemin

FAQs

Package last updated on 20 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts