Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A simple tool for squashing PNG and JPEG files using the TinyPNG API

License

Notifications You must be signed in to change notification settings

andrewlock/dotnet-tinify

Repository files navigation

dotnet-tinify

AppVeyor build status

NuGet MyGet

A simple tool for squashing PNG and JPEG files using the TinyPNG API.

Can compress all the PNG or JPEG files in a directory or just single files.

Installation

The latest release of dotnet-tinify requires the 2.1.300 .NET Core 2.1 SDK or newer. Once installed, run this command:

dotnet tool install --global dotnet-tinify

Usage

Usage: dotnet tinify [arguments] [options]

Arguments:
  path  Path to the file or directory to squash

Options:
  -?|-h|--help            Show help information
  -a|--api-key <API_KEY>  Your TinyPNG API key

You must provide your TinyPNG API key to use this tool
(see https://tinypng.com/developers for details). This
can be provided either as an argument, or by setting the
TINYPNG_APIKEY environment variable.
Only png, jpeg, and jpg, extensions are supported.

About

A simple tool for squashing PNG and JPEG files using the TinyPNG API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •